Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 3.152/3.152, allocations: 287.5 MB / 302.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001336, allocations: 177 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009542/0.0009539, allocations: 86.41 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.000492, allocations: 16.25 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0418/0.2582, allocations: 29.63 MB / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02454/0.2828, allocations: 9.851 MB / 1.017 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.286, allocations: 131.2 kB / 1.017 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003232/0.2893, allocations: 0.6239 MB / 1.018 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006427/0.2957, allocations: 1.454 MB / 1.019 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006379/0.3022, allocations: 1.269 MB / 1.02 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01419/0.3164, allocations: 8.262 MB / 1.028 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02698/0.3434, allocations: 10.33 MB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006119/0.3496, allocations: 2.264 MB / 1.041 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007076/0.3568, allocations: 2.896 MB / 1.044 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001684/0.3585, allocations: 268 kB / 1.044 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.3632, allocations: 0.8427 MB / 1.045 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004372/0.3676, allocations: 2.03 MB / 1.047 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002654/0.3703, allocations: 0.9563 MB / 1.048 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.384, allocations: 8.357 MB / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3841, allocations: 0 / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3841, allocations: 0 / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003107/0.3844, allocations: 0 / 1.056 GB, free: 12.82 MB / 0.6823 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.0138/0.3982, allocations: 4.07 MB / 1.06 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3983, allocations: 8.031 kB / 1.06 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002618/0.4009, allocations: 0.6818 MB / 1.06 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/0.4095, allocations: 0.9581 MB / 1.061 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008842/0.4184, allocations: 2.8 MB / 1.064 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004869/0.4189, allocations: 349.3 kB / 1.064 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.421, allocations: 463.9 kB / 1.065 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6514/1.072, allocations: 7.619 MB / 1.072 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003221/1.073, allocations: 29.62 kB / 1.072 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001486/1.074, allocations: 199.3 kB / 1.073 GB, free: 77.69 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006876/1.075, allocations: 314.4 kB / 1.073 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/1.094, allocations: 5.673 MB / 1.078 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05232/1.146, allocations: 35.14 MB / 1.113 GB, free: 46.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00467/1.151, allocations: 2.142 MB / 1.115 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/1.154, allocations: 1.261 MB / 1.116 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/1.154, allocations: 19.27 kB / 1.116 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/1.154, allocations: 51.77 kB / 1.116 GB, free: 44.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 5.591e-06/1.154, allocations: 2.812 kB / 1.116 GB, free: 44.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.02277/1.177, allocations: 7.088 MB / 1.123 GB, free: 40.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.177, allocations: 65.47 kB / 1.123 GB, free: 40.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/1.18, allocations: 1.47 MB / 1.124 GB, free: 39.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003155/1.18, allocations: 49.83 kB / 1.125 GB, free: 39.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/1.182, allocations: 1.998 MB / 1.126 GB, free: 37.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/1.183, allocations: 488.4 kB / 1.127 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/1.183, allocations: 36.03 kB / 1.127 GB, free: 37.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.183, allocations: 386.5 kB / 1.127 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/1.186, allocations: 0.9015 MB / 1.128 GB, free: 36.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/1.188, allocations: 1.593 MB / 1.13 GB, free: 34.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/1.191, allocations: 1.171 MB / 1.131 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/1.192, allocations: 10.42 kB / 1.131 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01083/1.202, allocations: 3.512 MB / 1.134 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/1.203, allocations: 15.84 kB / 1.134 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/1.203, allocations: 31.77 kB / 1.134 GB, free: 32.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004543/1.207, allocations: 0.8942 MB / 1.135 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/1.21, allocations: 346.3 kB / 1.136 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03092/1.241, allocations: 21.2 MB / 1.156 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.243, allocations: 106.9 kB / 1.156 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/1.243, allocations: 86.56 kB / 1.156 GB, free: 12.13 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003886/1.247, allocations: 1.611 MB / 1.158 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006781/1.248, allocations: 207 kB / 1.158 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007963/1.256, allocations: 2.978 MB / 1.161 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.256, allocations: 14 kB / 1.161 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/1.256, allocations: 7 kB / 1.161 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.256, allocations: 19.27 kB / 1.161 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/1.276, allocations: 7.323 MB / 1.168 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/1.276, allocations: 4 kB / 1.168 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.278, allocations: 179.6 kB / 1.169 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004025/1.282, allocations: 0.8223 MB / 1.169 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/1.282, allocations: 28 kB / 1.169 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0294/1.311, allocations: 20.3 MB / 1.189 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.311, allocations: 4 kB / 1.189 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009065/1.32, allocations: 3.015 MB / 1.192 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.322, allocations: 462.5 kB / 1.193 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/1.322, allocations: 28 kB / 1.193 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.324, allocations: 75.86 kB / 1.193 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/1.324, allocations: 120.7 kB / 1.193 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.325, allocations: 43.95 kB / 1.193 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00211/1.327, allocations: 0.96 MB / 1.194 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.91e-07/1.327, allocations: 4 kB / 1.194 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004543/1.331, allocations: 0.7812 MB / 1.195 GB, free: 6.27 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009714/1.341, allocations: 3.598 MB / 1.198 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009927/1.351, allocations: 4.003 MB / 1.202 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.351, allocations: 0 / 1.202 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006465/1.358, allocations: 2.737 MB / 1.205 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/1.363, allocations: 0.6629 MB / 1.205 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05144/1.415, allocations: 19.04 MB / 1.224 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006313/1.421, allocations: 3.116 MB / 1.227 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002384/1.423, allocations: 450 kB / 1.227 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003288/1.427, allocations: 1.55 MB / 1.229 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.282e-06/1.427, allocations: 0 / 1.229 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/1.617, allocations: 59.03 MB / 1.287 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/1.617, allocations: 233 kB / 1.287 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.126/5.743, allocations: 3.125 kB / 1.287 GB, free: 6.855 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)