Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 187.4 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 282.2 kB / 290.3 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9109/0.9109, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 100.8 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1637, allocations: 86.98 MB / 0.6797 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02276/0.1865, allocations: 22.39 MB / 0.7016 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009763/0.1963, allocations: 6.181 MB / 0.7076 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.1984, allocations: 83.5 kB / 0.7077 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004128/0.2026, allocations: 1.411 MB / 0.7091 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.2064, allocations: 1.517 MB / 0.7106 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.2094, allocations: 1.231 MB / 0.7118 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006309/0.2157, allocations: 5.97 MB / 0.7176 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009688/0.2254, allocations: 7.252 MB / 0.7247 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.2288, allocations: 2.457 MB / 0.7271 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/0.2329, allocations: 3.03 MB / 0.7301 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.2341, allocations: 460 kB / 0.7305 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.2366, allocations: 1.096 MB / 0.7316 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002547/0.2392, allocations: 2.035 MB / 0.7336 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003781/0.243, allocations: 2.167 MB / 0.7357 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008279/0.2513, allocations: 7.307 MB / 0.7428 GB, free: 116 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.2513, allocations: 0 / 0.7428 GB, free: 116 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2513, allocations: 3.938 kB / 0.7428 GB, free: 112 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002465/0.2516, allocations: 4 kB / 0.7428 GB, free: 108 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01071/0.2623, allocations: 3.805 MB / 0.7465 GB, free: 12.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.2624, allocations: 8.031 kB / 0.7465 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.2637, allocations: 0.5014 MB / 0.747 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/0.27, allocations: 1.21 MB / 0.7482 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.274, allocations: 2.227 MB / 0.7504 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.2742, allocations: 238.4 kB / 0.7506 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008055/0.275, allocations: 319.8 kB / 0.7509 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.2859, allocations: 6.212 MB / 0.757 GB, free: 1.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.314e-05/0.2861, allocations: 11.92 kB / 0.757 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005786/0.2867, allocations: 140 kB / 0.7571 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004761/0.2871, allocations: 406.2 kB / 0.7575 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008145/0.2953, allocations: 4.658 MB / 0.7621 GB, free: 11.99 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2814/0.5767, allocations: 29.13 MB / 0.7905 GB, free: 70.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.579, allocations: 1.424 MB / 0.7919 GB, free: 70.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.5811, allocations: 1.484 MB / 0.7934 GB, free: 69.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.5812, allocations: 12.38 kB / 0.7934 GB, free: 69.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.5812, allocations: 48.62 kB / 0.7934 GB, free: 69.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.777e-06/0.5813, allocations: 0 / 0.7934 GB, free: 69.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1218/0.7031, allocations: 37.23 MB / 0.8298 GB, free: 51.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.7032, allocations: 81.33 kB / 0.8298 GB, free: 51.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.7048, allocations: 1.419 MB / 0.8312 GB, free: 50.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.705, allocations: 53.7 kB / 0.8313 GB, free: 50.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/0.7056, allocations: 1.538 MB / 0.8328 GB, free: 48.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/0.7061, allocations: 0.6069 MB / 0.8334 GB, free: 47.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/0.7067, allocations: 379.3 kB / 0.8337 GB, free: 47.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.7068, allocations: 309.1 kB / 0.834 GB, free: 47.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.7087, allocations: 1.788 MB / 0.8358 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.7108, allocations: 2.346 MB / 0.8381 GB, free: 42.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004133/0.715, allocations: 4.387 MB / 0.8424 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.715, allocations: 4 kB / 0.8424 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01442/0.7294, allocations: 8.571 MB / 0.8507 GB, free: 29.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.7295, allocations: 15.94 kB / 0.8507 GB, free: 29.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.7295, allocations: 18.91 kB / 0.8508 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01293/0.7424, allocations: 4.664 MB / 0.8553 GB, free: 24.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.7436, allocations: 305.1 kB / 0.8556 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03981/0.7834, allocations: 32.61 MB / 0.8875 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.7857, allocations: 159.4 kB / 0.8876 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004353/0.7862, allocations: 80 kB / 0.8877 GB, free: 6.961 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003244/0.7894, allocations: 1.33 MB / 0.889 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007155/0.7902, allocations: 201.6 kB / 0.8892 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/0.8082, allocations: 8.445 MB / 0.8974 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.8082, allocations: 17.12 kB / 0.8974 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/0.8084, allocations: 31.94 kB / 0.8975 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/0.8084, allocations: 7.969 kB / 0.8975 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/0.8327, allocations: 12.84 MB / 0.91 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.8328, allocations: 4 kB / 0.91 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/0.8335, allocations: 168.5 kB / 0.9102 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01379/0.8473, allocations: 4.522 MB / 0.9146 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003626/0.8477, allocations: 36 kB / 0.9146 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04693/0.8947, allocations: 32.21 MB / 0.9461 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.8947, allocations: 11.94 kB / 0.9461 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/0.9109, allocations: 8.242 MB / 0.9541 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.9121, allocations: 0.6195 MB / 0.9548 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/0.9126, allocations: 36.38 kB / 0.9548 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.914, allocations: 135.8 kB / 0.9549 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007835/0.9148, allocations: 172.9 kB / 0.9551 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.915, allocations: 52 kB / 0.9551 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001393/0.9164, allocations: 0.9625 MB / 0.9561 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9164, allocations: 4 kB / 0.9561 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003208/0.9196, allocations: 1.113 MB / 0.9572 GB, free: 14.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/0.9359, allocations: 8.843 MB / 0.9658 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01329/0.9492, allocations: 7.059 MB / 0.9727 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.9492, allocations: 0.875 kB / 0.9727 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009325/0.9585, allocations: 4.357 MB / 0.9769 GB, free: 10.15 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.9616, allocations: 0.5319 MB / 0.9775 GB, free: 9.645 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06757/1.029, allocations: 36.73 MB / 1.013 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/1.033, allocations: 2.726 MB / 1.016 GB, free: 440 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00121/1.034, allocations: 385.2 kB / 1.016 GB, free: 60 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/1.036, allocations: 1.223 MB / 1.018 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/1.036, allocations: 0 / 1.018 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4297/1.466, allocations: 83.31 MB / 1.099 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.466, allocations: 269.8 kB / 1.099 GB, free: 227.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/4.486, allocations: 4 kB / 1.099 GB, free: 227.9 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)