Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.916/1.916, allocations: 288.4 MB / 303.3 MB, free: 7.984 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.001025/0.001025, allocations: 184.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008609/0.0008611, allocations: 85.05 kB / 0.744 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 19.48 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2509, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02795/0.2789, allocations: 31.91 MB / 1.011 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.2961, allocations: 9.554 MB / 1.02 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.3001, allocations: 123.3 kB / 1.02 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.3029, allocations: 0.6898 MB / 1.021 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006175/0.3091, allocations: 1.632 MB / 1.023 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.3136, allocations: 1.15 MB / 1.024 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0127/0.3263, allocations: 8.845 MB / 1.032 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01934/0.3457, allocations: 10.41 MB / 1.042 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00686/0.3526, allocations: 2.432 MB / 1.045 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00763/0.3603, allocations: 3.126 MB / 1.048 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00218/0.3625, allocations: 280 kB / 1.048 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.3666, allocations: 0.6478 MB / 1.049 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004075/0.3708, allocations: 2.085 MB / 1.051 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003272/0.3741, allocations: 1.027 MB / 1.052 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.3861, allocations: 8.556 MB / 1.06 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.3862, allocations: 3.984 kB / 1.06 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3862, allocations: 0 / 1.06 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004196/0.3866, allocations: 0 / 1.06 GB, free: 8.84 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01282/0.3994, allocations: 4.41 MB / 1.065 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.3995, allocations: 8.031 kB / 1.065 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00313/0.4026, allocations: 0.7099 MB / 1.065 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/0.4089, allocations: 0.9655 MB / 1.066 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6061/1.015, allocations: 2.921 MB / 1.069 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007829/1.016, allocations: 355.5 kB / 1.069 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/1.018, allocations: 468.9 kB / 1.07 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/1.047, allocations: 7.866 MB / 1.077 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003316/1.047, allocations: 21.44 kB / 1.077 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001968/1.049, allocations: 209.5 kB / 1.078 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008944/1.05, allocations: 365.5 kB / 1.078 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/1.07, allocations: 5.901 MB / 1.084 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.055/1.125, allocations: 36.25 MB / 1.119 GB, free: 43.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/1.129, allocations: 2.137 MB / 1.121 GB, free: 42.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/1.132, allocations: 1.478 MB / 1.123 GB, free: 41.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/1.132, allocations: 17.09 kB / 1.123 GB, free: 41.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/1.132, allocations: 51.88 kB / 1.123 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 4.268e-06/1.132, allocations: 0 / 1.123 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01839/1.15, allocations: 7.546 MB / 1.13 GB, free: 36.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/1.15, allocations: 71.95 kB / 1.13 GB, free: 36.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/1.155, allocations: 1.84 MB / 1.132 GB, free: 35.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004755/1.156, allocations: 53.02 kB / 1.132 GB, free: 35.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.158, allocations: 2.13 MB / 1.134 GB, free: 33.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008337/1.158, allocations: 0.5567 MB / 1.135 GB, free: 33.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/1.159, allocations: 44.91 kB / 1.135 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001981/1.159, allocations: 390.6 kB / 1.135 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/1.161, allocations: 1.056 MB / 1.136 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/1.164, allocations: 1.754 MB / 1.138 GB, free: 30.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/1.166, allocations: 1.344 MB / 1.139 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/1.166, allocations: 6.469 kB / 1.139 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008349/1.175, allocations: 3.901 MB / 1.143 GB, free: 27.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/1.175, allocations: 19.55 kB / 1.143 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/1.175, allocations: 23.53 kB / 1.143 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/1.177, allocations: 0.9256 MB / 1.144 GB, free: 27.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/1.179, allocations: 429.7 kB / 1.144 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/1.197, allocations: 21.04 MB / 1.165 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.2, allocations: 127.9 kB / 1.165 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005135/1.201, allocations: 92 kB / 1.165 GB, free: 6.082 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 (227): * Single equations (assignments): 215 * 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,(2,100.0%) 6,(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.004275/1.205, allocations: 1.648 MB / 1.167 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.206, allocations: 257 kB / 1.167 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006111/1.212, allocations: 3.253 MB / 1.17 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.212, allocations: 16 kB / 1.17 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/1.212, allocations: 12 kB / 1.17 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.212, allocations: 11.97 kB / 1.17 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.232, allocations: 7.538 MB / 1.178 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.232, allocations: 8 kB / 1.178 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.233, allocations: 211.7 kB / 1.178 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/1.236, allocations: 0.9042 MB / 1.179 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/1.236, allocations: 32 kB / 1.179 GB, free: 7.988 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0262/1.262, allocations: 21.01 MB / 1.199 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.262, allocations: 11.98 kB / 1.199 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00885/1.271, allocations: 3.365 MB / 1.202 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/1.273, allocations: 0.5292 MB / 1.203 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.274, allocations: 35.98 kB / 1.203 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/1.276, allocations: 91.89 kB / 1.203 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00063/1.277, allocations: 141 kB / 1.203 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.277, allocations: 48 kB / 1.203 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002819/1.28, allocations: 1.209 MB / 1.204 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.82e-07/1.28, allocations: 0 / 1.204 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005174/1.285, allocations: 0.9062 MB / 1.205 GB, free: 10.92 MB / 0.7292 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 (109): * Single equations (assignments): 97 * 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%) 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%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007508/1.293, allocations: 3.973 MB / 1.209 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008573/1.302, allocations: 4.412 MB / 1.214 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/1.302, allocations: 0 / 1.214 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005313/1.307, allocations: 2.996 MB / 1.216 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/1.313, allocations: 0.7718 MB / 1.217 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05732/1.371, allocations: 21.51 MB / 1.238 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007392/1.378, allocations: 3.219 MB / 1.241 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003217/1.382, allocations: 0.5176 MB / 1.242 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003316/1.385, allocations: 1.663 MB / 1.244 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of SimCode: time 2.505e-06/1.385, allocations: 0 / 1.244 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/1.514, allocations: 68.72 MB / 1.311 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/1.515, allocations: 240 kB / 1.311 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/5.618, allocations: 64 / 1.311 GB, free: 13.68 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)