Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 174 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 0.5777 GB, free: 20.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008094/0.0008096, allocations: 94.11 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 11.78 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3101, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04119/0.3513, allocations: 31.93 MB / 0.9315 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.3693, allocations: 9.546 MB / 0.9408 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.3732, allocations: 123.3 kB / 0.9409 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.3756, allocations: 0.6898 MB / 0.9416 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.381, allocations: 1.636 MB / 0.9432 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.3854, allocations: 1.155 MB / 0.9443 GB, free: 18.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01043/0.3958, allocations: 8.841 MB / 0.953 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01692/0.4128, allocations: 10.41 MB / 0.9631 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006131/0.419, allocations: 2.436 MB / 0.9655 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00682/0.4258, allocations: 3.118 MB / 0.9686 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001757/0.4276, allocations: 287.9 kB / 0.9688 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.4312, allocations: 0.6478 MB / 0.9695 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004571/0.4358, allocations: 2.085 MB / 0.9715 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003346/0.4392, allocations: 1.027 MB / 0.9725 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.4532, allocations: 8.56 MB / 0.9809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.4532, allocations: 0 / 0.9809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.278e-06/0.4533, allocations: 0 / 0.9809 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004802/0.4537, allocations: 0 / 0.9809 GB, free: 13.43 MB / 0.6355 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.01406/0.4678, allocations: 4.41 MB / 0.9852 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.4679, allocations: 12.02 kB / 0.9852 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002848/0.4708, allocations: 0.6982 MB / 0.9859 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006368/0.4771, allocations: 0.9656 MB / 0.9868 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008432/0.4856, allocations: 2.925 MB / 0.9897 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/0.4861, allocations: 357.5 kB / 0.99 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.4882, allocations: 471.9 kB / 0.9905 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.5109, allocations: 7.859 MB / 0.9981 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002485/0.5112, allocations: 19.81 kB / 0.9982 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/0.5127, allocations: 215.9 kB / 0.9984 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006228/0.5134, allocations: 369 kB / 0.9987 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.5287, allocations: 5.902 MB / 1.004 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0554/0.5842, allocations: 36.25 MB / 1.04 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.5884, allocations: 2.134 MB / 1.042 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.5909, allocations: 1.481 MB / 1.043 GB, free: 9.625 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.5911, allocations: 25.25 kB / 1.043 GB, free: 9.598 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.5911, allocations: 51.88 kB / 1.043 GB, free: 9.539 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 3.947e-06/0.5912, allocations: 0 / 1.043 GB, free: 9.539 MB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.01747/0.6086, allocations: 7.54 MB / 1.051 GB, free: 1.723 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.6088, allocations: 68.72 kB / 1.051 GB, free: 1.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5765/1.185, allocations: 1.834 MB / 1.053 GB, free: 136.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/1.186, allocations: 57.73 kB / 1.053 GB, free: 136.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.187, allocations: 2.128 MB / 1.055 GB, free: 136.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000588/1.188, allocations: 0.5548 MB / 1.055 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/1.188, allocations: 43.56 kB / 1.055 GB, free: 135.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.188, allocations: 394.2 kB / 1.056 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.19, allocations: 1.05 MB / 1.057 GB, free: 135.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/1.192, allocations: 1.753 MB / 1.059 GB, free: 134.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/1.194, allocations: 1.352 MB / 1.06 GB, free: 134.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/1.194, allocations: 6 kB / 1.06 GB, free: 134.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007053/1.201, allocations: 3.903 MB / 1.064 GB, free: 134.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/1.201, allocations: 15.19 kB / 1.064 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.238e-05/1.201, allocations: 23.48 kB / 1.064 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/1.204, allocations: 0.9287 MB / 1.065 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.206, allocations: 424.4 kB / 1.065 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/1.224, allocations: 21.06 MB / 1.086 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/1.227, allocations: 122.8 kB / 1.086 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.227, allocations: 102.2 kB / 1.086 GB, free: 116.9 MB / 0.698 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.003326/1.231, allocations: 1.648 MB / 1.087 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000622/1.231, allocations: 255.3 kB / 1.088 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/1.236, allocations: 3.253 MB / 1.091 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.236, allocations: 15.62 kB / 1.091 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.236, allocations: 11.88 kB / 1.091 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.236, allocations: 11.3 kB / 1.091 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.247, allocations: 7.533 MB / 1.098 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.248, allocations: 6.031 kB / 1.098 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/1.248, allocations: 214.5 kB / 1.098 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/1.251, allocations: 0.8924 MB / 1.099 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.251, allocations: 34.45 kB / 1.099 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.267, allocations: 21.02 MB / 1.12 GB, free: 91.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.267, allocations: 7.969 kB / 1.12 GB, free: 91.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005007/1.272, allocations: 3.367 MB / 1.123 GB, free: 89.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.273, allocations: 0.5264 MB / 1.124 GB, free: 89.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/1.273, allocations: 36.86 kB / 1.124 GB, free: 89.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009759/1.274, allocations: 95.88 kB / 1.124 GB, free: 89.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/1.274, allocations: 132.6 kB / 1.124 GB, free: 88.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/1.275, allocations: 52 kB / 1.124 GB, free: 88.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001451/1.276, allocations: 1.201 MB / 1.125 GB, free: 87.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.276, allocations: 5.641 kB / 1.125 GB, free: 87.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002892/1.279, allocations: 0.9062 MB / 1.126 GB, free: 86.71 MB / 0.698 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.004423/1.283, allocations: 3.973 MB / 1.13 GB, free: 82.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005898/1.289, allocations: 4.404 MB / 1.134 GB, free: 78.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.289, allocations: 4 kB / 1.134 GB, free: 78.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.293, allocations: 2.996 MB / 1.137 GB, free: 74.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004071/1.297, allocations: 0.7715 MB / 1.138 GB, free: 74.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03612/1.333, allocations: 21.53 MB / 1.159 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003402/1.337, allocations: 3.205 MB / 1.162 GB, free: 47.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002085/1.339, allocations: 0.5293 MB / 1.163 GB, free: 47.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/1.34, allocations: 1.659 MB / 1.164 GB, free: 45.69 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/1.34, allocations: 0 / 1.164 GB, free: 45.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.447, allocations: 68.71 MB / 1.231 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.447, allocations: 235.5 kB / 1.232 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/5.379, allocations: 0 / 1.232 GB, free: 9.484 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)