Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008722, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001019/0.001019, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006221/0.0006222, allocations: 25.39 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2975, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0364/0.3339, allocations: 34.21 MB / 0.8208 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.3585, allocations: 12.45 MB / 0.833 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007182/0.3658, allocations: 147.1 kB / 0.8331 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.3703, allocations: 0.7441 MB / 0.8338 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00872/0.3791, allocations: 2.064 MB / 0.8359 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006791/0.3859, allocations: 1.616 MB / 0.8374 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01617/0.4021, allocations: 10.64 MB / 0.8478 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0225/0.4247, allocations: 11.43 MB / 0.859 GB, free: 2.266 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00803/0.4327, allocations: 2.965 MB / 0.8619 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008684/0.4415, allocations: 3.773 MB / 0.8656 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002768/0.4443, allocations: 320 kB / 0.8659 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005895/0.4502, allocations: 0.7844 MB / 0.8666 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005228/0.4554, allocations: 2.443 MB / 0.869 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.4594, allocations: 1.175 MB / 0.8702 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.4738, allocations: 9.736 MB / 0.8797 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.4739, allocations: 0 / 0.8797 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.268e-06/0.4739, allocations: 4 kB / 0.8797 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004864/0.4744, allocations: 0 / 0.8797 GB, free: 13.01 MB / 0.7012 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.01672/0.4911, allocations: 5.197 MB / 0.8848 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.976e-05/0.4912, allocations: 8.031 kB / 0.8848 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004151/0.4954, allocations: 0.7517 MB / 0.8855 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.5064, allocations: 1.308 MB / 0.8868 GB, free: 5.652 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.5176, allocations: 3.468 MB / 0.8902 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/0.5182, allocations: 386.1 kB / 0.8905 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/0.5214, allocations: 0.492 MB / 0.891 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02567/0.5471, allocations: 8.843 MB / 0.8997 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003605/0.5475, allocations: 23.72 kB / 0.8997 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002251/0.5498, allocations: 223.9 kB / 0.8999 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002264/0.5521, allocations: 0.6343 MB / 0.9005 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.5709, allocations: 6.979 MB / 0.9073 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6095/1.18, allocations: 40.42 MB / 0.9468 GB, free: 74.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005207/1.186, allocations: 2.879 MB / 0.9496 GB, free: 73.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004362/1.19, allocations: 2.669 MB / 0.9522 GB, free: 71.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/1.19, allocations: 26.34 kB / 0.9522 GB, free: 71.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.446e-05/1.19, allocations: 67.91 kB / 0.9523 GB, free: 71.63 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.428e-06/1.19, allocations: 0 / 0.9523 GB, free: 71.63 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.2599/1.45, allocations: 77.4 MB / 1.028 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/1.45, allocations: 98.73 kB / 1.028 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/1.454, allocations: 2.332 MB / 1.03 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009107/1.455, allocations: 101.7 kB / 1.03 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.457, allocations: 2.332 MB / 1.033 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001756/1.459, allocations: 1.442 MB / 1.034 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006426/1.459, allocations: 84 kB / 1.034 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002553/1.459, allocations: 487.3 kB / 1.035 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/1.465, allocations: 2.985 MB / 1.037 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006108/1.471, allocations: 3.824 MB / 1.041 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005984/1.477, allocations: 3.548 MB / 1.045 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/1.477, allocations: 8 kB / 1.045 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02898/1.506, allocations: 12.5 MB / 1.057 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/1.506, allocations: 16 kB / 1.057 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/1.506, allocations: 27.89 kB / 1.057 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02205/1.528, allocations: 6.009 MB / 1.063 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/1.532, allocations: 499.1 kB / 1.063 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09978/1.631, allocations: 67.19 MB / 1.129 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/1.636, allocations: 215.8 kB / 1.129 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.637, allocations: 156 kB / 1.129 GB, free: 12.16 MB / 0.8262 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.005501/1.642, allocations: 1.999 MB / 1.131 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/1.644, allocations: 391.4 kB / 1.132 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0311/1.675, allocations: 12.18 MB / 1.143 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/1.675, allocations: 43.98 kB / 1.144 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001997/1.675, allocations: 48 kB / 1.144 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/1.675, allocations: 19.92 kB / 1.144 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0467/1.722, allocations: 19.12 MB / 1.162 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/1.722, allocations: 8 kB / 1.162 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.724, allocations: 291.5 kB / 1.163 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02284/1.747, allocations: 5.56 MB / 1.168 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/1.748, allocations: 80 kB / 1.168 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1021/1.85, allocations: 64.82 MB / 1.231 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.85, allocations: 11.94 kB / 1.231 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03454/1.884, allocations: 15.56 MB / 1.247 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003852/1.888, allocations: 1.047 MB / 1.248 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001845/1.89, allocations: 80 kB / 1.248 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0035/1.894, allocations: 215.7 kB / 1.248 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001955/1.896, allocations: 410.1 kB / 1.248 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000747/1.896, allocations: 104 kB / 1.248 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003102/1.9, allocations: 1.533 MB / 1.25 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/1.9, allocations: 0 / 1.25 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.008355/1.908, allocations: 1.859 MB / 1.252 GB, free: 11.03 MB / 0.9512 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.5876/2.496, allocations: 16.23 MB / 1.268 GB, free: 305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02243/2.518, allocations: 12.17 MB / 1.279 GB, free: 302 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/2.518, allocations: 2 kB / 1.279 GB, free: 302 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01724/2.535, allocations: 8.38 MB / 1.288 GB, free: 299.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009031/2.544, allocations: 1.111 MB / 1.289 GB, free: 299.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08537/2.63, allocations: 42.77 MB / 1.33 GB, free: 276.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008038/2.638, allocations: 4.088 MB / 1.334 GB, free: 274.7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004279/2.642, allocations: 0.6707 MB / 1.335 GB, free: 274.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003124/2.645, allocations: 2.132 MB / 1.337 GB, free: 272.8 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/2.646, allocations: 0 / 1.337 GB, free: 272.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/2.843, allocations: 143.8 MB / 1.478 GB, free: 138.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/2.844, allocations: 233.7 kB / 1.478 GB, free: 138.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.617/8.46, allocations: 0 / 1.478 GB, free: 138.2 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) Environment - environmentSimulation: