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_RLC_N.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_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.984/1.984, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.001034/0.001034, allocations: 184.5 kB / 372 MB, free: 10.25 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.704/1.704, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0009615/0.0009618, allocations: 102.8 kB / 0.7441 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 15.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2317, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03134/0.2631, allocations: 37.42 MB / 1.016 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.2866, allocations: 14.4 MB / 1.03 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004963/0.2916, allocations: 167 kB / 1.03 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003693/0.2953, allocations: 0.8411 MB / 1.031 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009121/0.3044, allocations: 2.316 MB / 1.034 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008155/0.3126, allocations: 1.903 MB / 1.035 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01752/0.3302, allocations: 12.67 MB / 1.048 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02431/0.3545, allocations: 13.98 MB / 1.061 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.3659, allocations: 3.552 MB / 1.065 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5984/0.9644, allocations: 4.629 MB / 1.069 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003538/0.9679, allocations: 398.2 kB / 1.07 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00671/0.9747, allocations: 0.8904 MB / 1.071 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.007887/0.9826, allocations: 2.96 MB / 1.074 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.007772/0.9904, allocations: 1.381 MB / 1.075 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0241/1.015, allocations: 11.76 MB / 1.086 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.015, allocations: 5.688 kB / 1.086 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/1.015, allocations: 0 / 1.086 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0009462/1.016, allocations: 1.25 kB / 1.086 GB, free: 23.64 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02826/1.044, allocations: 6.223 MB / 1.092 GB, free: 21.08 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.698e-05/1.044, allocations: 9.531 kB / 1.092 GB, free: 21.08 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006145/1.05, allocations: 0.8922 MB / 1.093 GB, free: 21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/1.066, allocations: 1.518 MB / 1.095 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/1.079, allocations: 4.1 MB / 1.099 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007544/1.08, allocations: 454.5 kB / 1.099 GB, free: 19.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006189/1.086, allocations: 0.5944 MB / 1.1 GB, free: 19.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0425/1.129, allocations: 10.63 MB / 1.11 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005123/1.129, allocations: 38.58 kB / 1.11 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004127/1.133, allocations: 264.7 kB / 1.11 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003246/1.137, allocations: 0.7736 MB / 1.111 GB, free: 17.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02503/1.162, allocations: 8.516 MB / 1.12 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08371/1.246, allocations: 46.95 MB / 1.165 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007129/1.253, allocations: 4.303 MB / 1.17 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006887/1.26, allocations: 3.674 MB / 1.173 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/1.26, allocations: 40.23 kB / 1.173 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.333e-05/1.26, allocations: 77.97 kB / 1.173 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 5.46e-06/1.26, allocations: 4 kB / 1.173 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 0.509/1.769, allocations: 127.8 MB / 1.298 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.769, allocations: 111.9 kB / 1.298 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/1.774, allocations: 2.657 MB / 1.301 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/1.776, allocations: 124.1 kB / 1.301 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/1.778, allocations: 2.682 MB / 1.304 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003074/1.781, allocations: 1.953 MB / 1.306 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005398/1.782, allocations: 108 kB / 1.306 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003384/1.782, allocations: 0.5335 MB / 1.306 GB, free: 248 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006708/1.789, allocations: 4.054 MB / 1.31 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009107/1.798, allocations: 5.001 MB / 1.315 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009002/1.807, allocations: 4.818 MB / 1.32 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/1.807, allocations: 8 kB / 1.32 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04312/1.85, allocations: 16.91 MB / 1.336 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/1.85, allocations: 16 kB / 1.336 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.274e-05/1.85, allocations: 24.16 kB / 1.336 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03307/1.883, allocations: 9.059 MB / 1.345 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/1.886, allocations: 0.5244 MB / 1.346 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1096/1.996, allocations: 70.61 MB / 1.415 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006202/2.002, allocations: 283.6 kB / 1.415 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/2.004, allocations: 192 kB / 1.415 GB, free: 15.34 MB / 0.9636 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007008/2.011, allocations: 2.427 MB / 1.417 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/2.012, allocations: 470.5 kB / 1.418 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5586/2.571, allocations: 16.75 MB / 1.434 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.928e-05/2.571, allocations: 53.72 kB / 1.434 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002929/2.571, allocations: 73.12 kB / 1.434 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/2.571, allocations: 28.59 kB / 1.434 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06249/2.634, allocations: 25.61 MB / 1.459 GB, free: 331.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-05/2.634, allocations: 13.56 kB / 1.459 GB, free: 331.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/2.636, allocations: 319.3 kB / 1.46 GB, free: 331.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03053/2.667, allocations: 8.261 MB / 1.468 GB, free: 329.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001538/2.668, allocations: 102.2 kB / 1.468 GB, free: 329.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08443/2.753, allocations: 67.46 MB / 1.534 GB, free: 280.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/2.753, allocations: 11.94 kB / 1.534 GB, free: 280.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04219/2.795, allocations: 21.48 MB / 1.555 GB, free: 258.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004441/2.799, allocations: 1.372 MB / 1.556 GB, free: 257.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002292/2.802, allocations: 104 kB / 1.556 GB, free: 257.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005044/2.807, allocations: 287.6 kB / 1.556 GB, free: 256.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002399/2.809, allocations: 0.5183 MB / 1.557 GB, free: 256.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006992/2.81, allocations: 144 kB / 1.557 GB, free: 256.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002782/2.813, allocations: 1.745 MB / 1.559 GB, free: 254.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.81e-07/2.813, allocations: 0 / 1.559 GB, free: 254.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01148/2.824, allocations: 2.445 MB / 1.561 GB, free: 252 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04297/2.867, allocations: 22.18 MB / 1.583 GB, free: 229.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02573/2.893, allocations: 14.5 MB / 1.597 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/2.893, allocations: 4 kB / 1.597 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01782/2.911, allocations: 9.362 MB / 1.606 GB, free: 205.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008678/2.92, allocations: 1.279 MB / 1.607 GB, free: 204 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1122/3.032, allocations: 55.85 MB / 1.662 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007292/3.039, allocations: 4.896 MB / 1.667 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003669/3.043, allocations: 0.7449 MB / 1.667 GB, free: 140.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004628/3.048, allocations: 2.6 MB / 1.67 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of SimCode: time 2.285e-06/3.048, allocations: 0 / 1.67 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7821/3.83, allocations: 185.8 MB / 1.851 GB, free: 309.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/3.83, allocations: 249.1 kB / 1.852 GB, free: 309.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/11.4, allocations: 0 / 1.852 GB, free: 309.2 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)