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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.677/1.677, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001673/0.001673, allocations: 193.5 kB / 372 MB, free: 10.27 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.681/1.681, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008031/0.0008031, allocations: 101.2 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 16.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2978, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03059/0.3285, allocations: 34.15 MB / 1.013 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.3532, allocations: 12.44 MB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005362/0.3586, allocations: 143.1 kB / 1.025 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.3625, allocations: 0.7519 MB / 1.026 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008606/0.3711, allocations: 2.052 MB / 1.028 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008191/0.3794, allocations: 1.619 MB / 1.03 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01765/0.3971, allocations: 10.6 MB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02376/0.4209, allocations: 11.44 MB / 1.051 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008208/0.4291, allocations: 2.949 MB / 1.054 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009114/0.4383, allocations: 3.777 MB / 1.058 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002672/0.441, allocations: 316 kB / 1.058 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.4474, allocations: 0.7844 MB / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00623/0.4536, allocations: 2.428 MB / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004397/0.4581, allocations: 1.171 MB / 1.062 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5718/1.03, allocations: 9.725 MB / 1.072 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/1.03, allocations: 1.094 kB / 1.072 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.397e-06/1.03, allocations: 0 / 1.072 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005608/1.031, allocations: 0 / 1.072 GB, free: 27.26 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01779/1.048, allocations: 5.2 MB / 1.077 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.048, allocations: 8.75 kB / 1.077 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004664/1.053, allocations: 0.7496 MB / 1.078 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/1.065, allocations: 1.303 MB / 1.079 GB, free: 24.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/1.076, allocations: 3.472 MB / 1.082 GB, free: 24.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007974/1.077, allocations: 384 kB / 1.083 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004339/1.082, allocations: 0.4956 MB / 1.083 GB, free: 24.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/1.112, allocations: 8.842 MB / 1.092 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004168/1.112, allocations: 30.25 kB / 1.092 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002476/1.115, allocations: 222.1 kB / 1.092 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/1.117, allocations: 0.6297 MB / 1.093 GB, free: 23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/1.136, allocations: 6.981 MB / 1.099 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05592/1.192, allocations: 40.38 MB / 1.139 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00445/1.197, allocations: 2.887 MB / 1.142 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003774/1.2, allocations: 2.657 MB / 1.144 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/1.201, allocations: 35.23 kB / 1.144 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/1.201, allocations: 64.05 kB / 1.144 GB, free: 10.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 4.549e-06/1.201, allocations: 0 / 1.144 GB, free: 10.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.3021/1.503, allocations: 77.41 MB / 1.22 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/1.503, allocations: 98.73 kB / 1.22 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/1.507, allocations: 2.336 MB / 1.222 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/1.508, allocations: 93.7 kB / 1.222 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/1.51, allocations: 2.337 MB / 1.225 GB, free: 3.504 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00246/1.512, allocations: 1.433 MB / 1.226 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/1.513, allocations: 88 kB / 1.226 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003152/1.513, allocations: 483.2 kB / 1.227 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004827/1.518, allocations: 2.984 MB / 1.23 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006373/1.524, allocations: 3.827 MB / 1.233 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006157/1.53, allocations: 3.55 MB / 1.237 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/1.53, allocations: 14.66 kB / 1.237 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03019/1.561, allocations: 12.5 MB / 1.249 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/1.561, allocations: 16 kB / 1.249 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/1.561, allocations: 24 kB / 1.249 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02292/1.584, allocations: 6.014 MB / 1.255 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/1.586, allocations: 500 kB / 1.255 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0834/1.669, allocations: 67.19 MB / 1.321 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/1.674, allocations: 215.8 kB / 1.321 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.675, allocations: 152 kB / 1.321 GB, free: 13.54 MB / 0.8698 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0047/1.68, allocations: 1.992 MB / 1.323 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00127/1.681, allocations: 391.4 kB / 1.324 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02936/1.711, allocations: 12.18 MB / 1.336 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/1.711, allocations: 40 kB / 1.336 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001991/1.711, allocations: 52 kB / 1.336 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.982e-05/1.711, allocations: 23.88 kB / 1.336 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04354/1.755, allocations: 19.11 MB / 1.354 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/1.755, allocations: 8 kB / 1.354 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.757, allocations: 285.5 kB / 1.355 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02136/1.778, allocations: 5.571 MB / 1.36 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009163/1.779, allocations: 83.94 kB / 1.36 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08146/1.86, allocations: 64.82 MB / 1.423 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/1.861, allocations: 13.84 kB / 1.423 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5979/2.458, allocations: 15.56 MB / 1.439 GB, free: 330.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/2.462, allocations: 1.041 MB / 1.44 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/2.464, allocations: 86.55 kB / 1.44 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00521/2.47, allocations: 211.4 kB / 1.44 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002584/2.472, allocations: 404.3 kB / 1.44 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007745/2.473, allocations: 108.7 kB / 1.44 GB, free: 330.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00322/2.476, allocations: 1.532 MB / 1.442 GB, free: 330.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.81e-07/2.476, allocations: 2.688 kB / 1.442 GB, free: 330.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01027/2.486, allocations: 1.846 MB / 1.444 GB, free: 330.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03509/2.522, allocations: 16.23 MB / 1.46 GB, free: 324.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02486/2.547, allocations: 12.19 MB / 1.471 GB, free: 318.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/2.547, allocations: 1.812 kB / 1.471 GB, free: 318.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01629/2.563, allocations: 8.377 MB / 1.48 GB, free: 313.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/2.571, allocations: 1.108 MB / 1.481 GB, free: 312.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08967/2.661, allocations: 42.75 MB / 1.522 GB, free: 281.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006879/2.668, allocations: 4.092 MB / 1.526 GB, free: 277.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00309/2.671, allocations: 0.663 MB / 1.527 GB, free: 276.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/2.674, allocations: 2.136 MB / 1.529 GB, free: 274.5 MB / 0.9636 GB Notification: Performance of SimCode: time 9.52e-07/2.674, allocations: 0 / 1.529 GB, free: 274.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2032/2.877, allocations: 143.8 MB / 1.67 GB, free: 131.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/2.877, allocations: 242.3 kB / 1.67 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.377/9.254, allocations: 4 kB / 1.67 GB, free: 131.5 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)