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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001198/0.001198, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 284.1 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8329/0.8329, allocations: 169.3 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 88.42 kB / 0.5946 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1296, allocations: 86.99 MB / 0.6796 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02814/0.1577, allocations: 32.3 MB / 0.7111 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.1707, allocations: 10.27 MB / 0.7211 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.1721, allocations: 135.3 kB / 0.7213 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006746/0.1788, allocations: 3.477 MB / 0.7247 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1818, allocations: 1.735 MB / 0.7263 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.1852, allocations: 1.944 MB / 0.7282 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007331/0.1925, allocations: 10.57 MB / 0.7386 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.2036, allocations: 10.61 MB / 0.7489 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.2066, allocations: 2.697 MB / 0.7516 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.2096, allocations: 3.555 MB / 0.755 GB, free: 3.527 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005666/0.2102, allocations: 452 kB / 0.7555 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.2129, allocations: 1.884 MB / 0.7573 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.2146, allocations: 2.339 MB / 0.7596 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.2167, allocations: 2.664 MB / 0.7622 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.2233, allocations: 9.979 MB / 0.7719 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2233, allocations: 0 / 0.7719 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2233, allocations: 0 / 0.7719 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.914e-05/0.2234, allocations: 0 / 0.7719 GB, free: 2.172 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.2183/0.4417, allocations: 4.99 MB / 0.7768 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4417, allocations: 10.62 kB / 0.7768 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007784/0.4425, allocations: 0.6842 MB / 0.7775 GB, free: 87.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/0.447, allocations: 0.9553 MB / 0.7784 GB, free: 86.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.4507, allocations: 2.86 MB / 0.7812 GB, free: 85.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.4509, allocations: 354.6 kB / 0.7816 GB, free: 85.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005649/0.4515, allocations: 457.9 kB / 0.782 GB, free: 85.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008965/0.4605, allocations: 7.665 MB / 0.7895 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.612e-05/0.4606, allocations: 32.31 kB / 0.7895 GB, free: 81.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/0.461, allocations: 200.8 kB / 0.7897 GB, free: 81.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002555/0.4612, allocations: 314.5 kB / 0.79 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00746/0.4687, allocations: 5.708 MB / 0.7956 GB, free: 79.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.4894, allocations: 35.09 MB / 0.8299 GB, free: 47.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.4912, allocations: 2.153 MB / 0.832 GB, free: 45.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.4923, allocations: 1.264 MB / 0.8332 GB, free: 45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.242e-05/0.4924, allocations: 17.72 kB / 0.8332 GB, free: 45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.4924, allocations: 55.77 kB / 0.8333 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 2.424e-06/0.4924, allocations: 0 / 0.8333 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.009546/0.502, allocations: 7.087 MB / 0.8402 GB, free: 39.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.502, allocations: 68.72 kB / 0.8402 GB, free: 38.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.5031, allocations: 1.484 MB / 0.8417 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.5032, allocations: 52.33 kB / 0.8417 GB, free: 37.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/0.5038, allocations: 2.003 MB / 0.8437 GB, free: 35.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.504, allocations: 488 kB / 0.8442 GB, free: 34.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.5044, allocations: 347.1 kB / 0.8445 GB, free: 34.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.72e-05/0.5044, allocations: 301.1 kB / 0.8448 GB, free: 34.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008931/0.5053, allocations: 0.9135 MB / 0.8457 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.5064, allocations: 1.597 MB / 0.8472 GB, free: 31.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.5085, allocations: 2.733 MB / 0.8499 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5085, allocations: 8 kB / 0.8499 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004145/0.5127, allocations: 3.531 MB / 0.8534 GB, free: 24.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5127, allocations: 20.03 kB / 0.8534 GB, free: 24.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.5127, allocations: 20 kB / 0.8534 GB, free: 24.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.5147, allocations: 0.9074 MB / 0.8543 GB, free: 23.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.5156, allocations: 351.4 kB / 0.8546 GB, free: 23.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.5278, allocations: 21.2 MB / 0.8753 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.529, allocations: 108 kB / 0.8754 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.5291, allocations: 84 kB / 0.8755 GB, free: 496 kB / 0.5606 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.001896/0.531, allocations: 1.613 MB / 0.8771 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.5312, allocations: 205.5 kB / 0.8773 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/0.5356, allocations: 2.998 MB / 0.8802 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5356, allocations: 12 kB / 0.8802 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5357, allocations: 12 kB / 0.8802 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5357, allocations: 7.969 kB / 0.8802 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009156/0.5448, allocations: 7.338 MB / 0.8874 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5449, allocations: 4 kB / 0.8874 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.5455, allocations: 176.3 kB / 0.8876 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.5477, allocations: 0.8337 MB / 0.8884 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.5477, allocations: 24 kB / 0.8884 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.5628, allocations: 20.31 MB / 0.9082 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5628, allocations: 4 kB / 0.9082 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004198/0.567, allocations: 3.031 MB / 0.9112 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.5677, allocations: 462.5 kB / 0.9116 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.5679, allocations: 31.91 kB / 0.9117 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.5686, allocations: 71.91 kB / 0.9117 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.5688, allocations: 124.7 kB / 0.9119 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.308e-05/0.5689, allocations: 36 kB / 0.9119 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001058/0.57, allocations: 0.9795 MB / 0.9129 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.57, allocations: 0 / 0.9129 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002127/0.5721, allocations: 0.7891 MB / 0.9136 GB, free: 7.391 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.004388/0.5765, allocations: 3.613 MB / 0.9172 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004677/0.5812, allocations: 4.018 MB / 0.9211 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5812, allocations: 0 / 0.9211 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/0.5842, allocations: 2.736 MB / 0.9238 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.5866, allocations: 0.6709 MB / 0.9244 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/0.6182, allocations: 25.74 MB / 0.9495 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/0.6215, allocations: 3.113 MB / 0.9526 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001714/0.6233, allocations: 465.9 kB / 0.953 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/0.6251, allocations: 1.537 MB / 0.9545 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/0.6251, allocations: 0 / 0.9545 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7587/1.384, allocations: 59.06 MB / 1.012 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/1.384, allocations: 251.5 kB / 1.012 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/4.232, allocations: 0 / 1.012 GB, free: 0.707 MB / 0.7012 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)