Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.57/1.57, allocations: 287.4 MB / 302.6 MB, free: 8.176 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.001327/0.001328, allocations: 178.7 kB / 371.1 MB, free: 10.8 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.585/1.585, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0008662/0.0008658, allocations: 96.41 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.000444, allocations: 12.14 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2547, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02247/0.2773, allocations: 27.88 MB / 1.006 GB, free: 128 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.2984, allocations: 12.81 MB / 1.018 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003685/0.3021, allocations: 123.2 kB / 1.019 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.3047, allocations: 0.6278 MB / 1.019 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008498/0.3132, allocations: 2.201 MB / 1.021 GB, free: 324 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.319, allocations: 1.192 MB / 1.023 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01284/0.3319, allocations: 8.436 MB / 1.031 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01871/0.3506, allocations: 10.03 MB / 1.041 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006202/0.3569, allocations: 2.561 MB / 1.043 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006027/0.3629, allocations: 2.838 MB / 1.046 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.3655, allocations: 244 kB / 1.046 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004822/0.3704, allocations: 0.7023 MB / 1.047 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004142/0.3746, allocations: 1.898 MB / 1.049 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.3776, allocations: 0.9719 MB / 1.05 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.3896, allocations: 7.741 MB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.3896, allocations: 0 / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3896, allocations: 0 / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004893/0.3901, allocations: 0 / 1.057 GB, free: 11.52 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01537/0.4055, allocations: 4.15 MB / 1.061 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.715e-05/0.4056, allocations: 8.031 kB / 1.061 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003436/0.4091, allocations: 0.6164 MB / 1.062 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006814/0.4159, allocations: 0.9981 MB / 1.063 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00781/0.4237, allocations: 2.9 MB / 1.066 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.4242, allocations: 316.8 kB / 1.066 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.426, allocations: 423.8 kB / 1.066 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5589/0.985, allocations: 6.747 MB / 1.073 GB, free: 78.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/0.9852, allocations: 20.83 kB / 1.073 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005717/0.9858, allocations: 183.7 kB / 1.073 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/0.9869, allocations: 376 kB / 1.073 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.9997, allocations: 5.081 MB / 1.078 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03978/1.04, allocations: 30.76 MB / 1.108 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/1.042, allocations: 1.385 MB / 1.11 GB, free: 51.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/1.043, allocations: 1.337 MB / 1.111 GB, free: 51.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.139e-05/1.043, allocations: 13.22 kB / 1.111 GB, free: 51.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/1.043, allocations: 55.75 kB / 1.111 GB, free: 51.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 3.457e-06/1.043, allocations: 0 / 1.111 GB, free: 51.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.08296/1.126, allocations: 22.79 MB / 1.133 GB, free: 41.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.127, allocations: 72.56 kB / 1.133 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/1.13, allocations: 2.038 MB / 1.135 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/1.13, allocations: 59.8 kB / 1.136 GB, free: 39.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009829/1.131, allocations: 2.003 MB / 1.137 GB, free: 38.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/1.131, allocations: 0.6849 MB / 1.138 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.132, allocations: 45.72 kB / 1.138 GB, free: 37.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.132, allocations: 403.4 kB / 1.139 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/1.133, allocations: 1.42 MB / 1.14 GB, free: 35.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/1.135, allocations: 2.002 MB / 1.142 GB, free: 33.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/1.139, allocations: 3.68 MB / 1.146 GB, free: 29.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/1.139, allocations: 4 kB / 1.146 GB, free: 29.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00919/1.148, allocations: 5.638 MB / 1.151 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.148, allocations: 12 kB / 1.151 GB, free: 23.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.148, allocations: 16.91 kB / 1.151 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005868/1.154, allocations: 2.081 MB / 1.153 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/1.156, allocations: 379.4 kB / 1.153 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0353/1.191, allocations: 35.52 MB / 1.188 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/1.195, allocations: 123.9 kB / 1.188 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004397/1.195, allocations: 99.97 kB / 1.188 GB, free: 15.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.003771/1.199, allocations: 1.516 MB / 1.19 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/1.2, allocations: 284.6 kB / 1.19 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.21, allocations: 5.193 MB / 1.195 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.21, allocations: 19.98 kB / 1.195 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.897e-05/1.21, allocations: 23.94 kB / 1.195 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/1.21, allocations: 7.969 kB / 1.195 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/1.228, allocations: 9.671 MB / 1.205 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.228, allocations: 4 kB / 1.205 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/1.229, allocations: 216.8 kB / 1.205 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006189/1.235, allocations: 1.835 MB / 1.207 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.236, allocations: 40 kB / 1.207 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/1.273, allocations: 34.52 MB / 1.24 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/1.273, allocations: 11.94 kB / 1.24 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.283, allocations: 4.898 MB / 1.245 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/1.285, allocations: 0.6225 MB / 1.246 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008939/1.286, allocations: 40 kB / 1.246 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/1.288, allocations: 131.2 kB / 1.246 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000849/1.289, allocations: 197.5 kB / 1.246 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/1.289, allocations: 52 kB / 1.246 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002914/1.292, allocations: 1.359 MB / 1.248 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.983e-06/1.292, allocations: 0 / 1.248 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00505/1.297, allocations: 1.043 MB / 1.249 GB, free: 14.73 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/1.307, allocations: 5.514 MB / 1.254 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.318, allocations: 6.241 MB / 1.26 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.318, allocations: 0 / 1.26 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007393/1.326, allocations: 4.401 MB / 1.264 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007783/1.333, allocations: 0.9025 MB / 1.265 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05717/1.391, allocations: 25.39 MB / 1.29 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005863/1.397, allocations: 3.121 MB / 1.293 GB, free: 14.93 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00276/1.399, allocations: 0.5159 MB / 1.294 GB, free: 14.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002674/1.402, allocations: 1.675 MB / 1.295 GB, free: 12.74 MB / 0.823 GB Notification: Performance of SimCode: time 9.11e-07/1.402, allocations: 3.938 kB / 1.295 GB, free: 12.73 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/1.546, allocations: 85.61 MB / 1.379 GB, free: 8.023 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/1.546, allocations: 231.4 kB / 1.379 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.288/5.834, allocations: 0 / 1.379 GB, free: 7.785 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)