Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001143/0.001143, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 286.7 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 98.73 kB / 0.5954 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1405, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03476/0.1753, allocations: 32.58 MB / 0.7121 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1908, allocations: 10.27 MB / 0.7221 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.193, allocations: 147.2 kB / 0.7223 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008672/0.2017, allocations: 3.716 MB / 0.7259 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.2066, allocations: 1.858 MB / 0.7277 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.2121, allocations: 2.132 MB / 0.7298 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009718/0.2218, allocations: 7.318 MB / 0.737 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.2346, allocations: 9.486 MB / 0.7462 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004597/0.2393, allocations: 3.163 MB / 0.7493 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.2442, allocations: 3.474 MB / 0.7527 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.2459, allocations: 0.6523 MB / 0.7533 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004141/0.2501, allocations: 1.767 MB / 0.7551 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003297/0.2534, allocations: 2.553 MB / 0.7576 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005455/0.2589, allocations: 2.894 MB / 0.7604 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.2705, allocations: 10.05 MB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2706, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2706, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003428/0.2709, allocations: 4 kB / 0.7702 GB, free: 4.211 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.2933/0.5643, allocations: 4.999 MB / 0.7751 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5643, allocations: 10.25 kB / 0.7751 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002053/0.5664, allocations: 0.6791 MB / 0.7758 GB, free: 86.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006366/0.5728, allocations: 0.9559 MB / 0.7767 GB, free: 86.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006408/0.5792, allocations: 2.854 MB / 0.7795 GB, free: 84.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.5796, allocations: 353.5 kB / 0.7798 GB, free: 84.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/0.5812, allocations: 462.2 kB / 0.7803 GB, free: 84.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.5979, allocations: 7.668 MB / 0.7877 GB, free: 81.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002917/0.5982, allocations: 32.41 kB / 0.7878 GB, free: 81.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/0.5997, allocations: 193.2 kB / 0.788 GB, free: 81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005498/0.6002, allocations: 315.5 kB / 0.7883 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.6128, allocations: 5.711 MB / 0.7938 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.6515, allocations: 35.1 MB / 0.8281 GB, free: 47.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.6541, allocations: 2.149 MB / 0.8302 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.6555, allocations: 1.268 MB / 0.8314 GB, free: 44.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.019e-05/0.6556, allocations: 17.19 kB / 0.8315 GB, free: 44.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.6556, allocations: 47.75 kB / 0.8315 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.847e-06/0.6556, allocations: 0 / 0.8315 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01262/0.6682, allocations: 7.094 MB / 0.8384 GB, free: 40.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.6683, allocations: 64.72 kB / 0.8385 GB, free: 40.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.6702, allocations: 1.485 MB / 0.84 GB, free: 38.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.036e-05/0.6703, allocations: 45.7 kB / 0.84 GB, free: 38.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/0.6711, allocations: 2.003 MB / 0.842 GB, free: 36.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.6714, allocations: 492 kB / 0.8424 GB, free: 35.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.6718, allocations: 347.1 kB / 0.8428 GB, free: 35.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.6719, allocations: 301.1 kB / 0.843 GB, free: 35.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.6729, allocations: 0.9147 MB / 0.8439 GB, free: 34.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.6744, allocations: 1.605 MB / 0.8455 GB, free: 32.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.6773, allocations: 2.729 MB / 0.8482 GB, free: 29.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/0.6773, allocations: 12 kB / 0.8482 GB, free: 29.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005552/0.6828, allocations: 3.53 MB / 0.8516 GB, free: 25.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.6829, allocations: 16 kB / 0.8516 GB, free: 25.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.6829, allocations: 20 kB / 0.8517 GB, free: 25.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.6853, allocations: 0.9078 MB / 0.8525 GB, free: 24.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.6863, allocations: 347.4 kB / 0.8529 GB, free: 24.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.7017, allocations: 23.12 MB / 0.8755 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.7034, allocations: 99.95 kB / 0.8755 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.7037, allocations: 88 kB / 0.8756 GB, free: 15.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002748/0.7065, allocations: 1.611 MB / 0.8772 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005001/0.707, allocations: 213.5 kB / 0.8774 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005578/0.7126, allocations: 2.982 MB / 0.8803 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.7126, allocations: 15.94 kB / 0.8803 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/0.7127, allocations: 8 kB / 0.8803 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.7127, allocations: 7.984 kB / 0.8804 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.7265, allocations: 7.35 MB / 0.8875 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.7265, allocations: 4.188 kB / 0.8875 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.7273, allocations: 175.7 kB / 0.8877 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/0.7298, allocations: 0.8258 MB / 0.8885 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.7299, allocations: 28 kB / 0.8885 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/0.7513, allocations: 21.96 MB / 0.91 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.7514, allocations: 11.88 kB / 0.91 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/0.757, allocations: 3.015 MB / 0.9129 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009979/0.758, allocations: 454.5 kB / 0.9134 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/0.7585, allocations: 39.92 kB / 0.9134 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.7595, allocations: 71.92 kB / 0.9135 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003548/0.7599, allocations: 124.6 kB / 0.9136 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.76, allocations: 48 kB / 0.9136 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001609/0.7616, allocations: 0.9717 MB / 0.9146 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7617, allocations: 0 / 0.9146 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002925/0.7646, allocations: 0.7852 MB / 0.9154 GB, free: 4.781 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005584/0.7702, allocations: 3.616 MB / 0.9189 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007338/0.7775, allocations: 4.648 MB / 0.9234 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.7776, allocations: 3.938 kB / 0.9234 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003839/0.7814, allocations: 2.735 MB / 0.9261 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/0.785, allocations: 0.74 MB / 0.9268 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0406/0.8256, allocations: 23.84 MB / 0.9501 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005065/0.8307, allocations: 3.112 MB / 0.9531 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0017/0.8324, allocations: 450 kB / 0.9536 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/0.8345, allocations: 1.534 MB / 0.9551 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/0.8345, allocations: 0 / 0.9551 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/0.9583, allocations: 60.32 MB / 1.014 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.39, allocations: 10.17 kB / 1.014 GB, free: 14.38 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)