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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.81/2.81, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001365/0.001365, allocations: 181.8 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.00102/0.00102, allocations: 93.66 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007836/0.000784, allocations: 12.06 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2414, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03817/0.2796, allocations: 27.87 MB / 1.006 GB, free: 432 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03127/0.3109, allocations: 12.8 MB / 1.018 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.3145, allocations: 127.2 kB / 1.018 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.3181, allocations: 0.6316 MB / 1.019 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.3282, allocations: 2.197 MB / 1.021 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006222/0.3345, allocations: 1.192 MB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01601/0.3505, allocations: 8.361 MB / 1.03 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02349/0.3741, allocations: 8.533 MB / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007542/0.3817, allocations: 2.549 MB / 1.041 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00748/0.3892, allocations: 2.845 MB / 1.044 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001833/0.3911, allocations: 244 kB / 1.044 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004724/0.3958, allocations: 0.7023 MB / 1.045 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004431/0.4003, allocations: 1.894 MB / 1.047 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002995/0.4034, allocations: 0.9758 MB / 1.048 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.4172, allocations: 7.722 MB / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4173, allocations: 0 / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.527e-06/0.4173, allocations: 0 / 1.055 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003384/0.4177, allocations: 4 kB / 1.055 GB, free: 13.45 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.0155/0.4332, allocations: 4.197 MB / 1.059 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.4333, allocations: 12.03 kB / 1.059 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009644/0.4429, allocations: 1.001 MB / 1.06 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009907/0.4529, allocations: 2.818 MB / 1.063 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005521/0.4535, allocations: 316.5 kB / 1.063 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/0.4554, allocations: 423.9 kB / 1.064 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6663/1.122, allocations: 6.75 MB / 1.07 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/1.122, allocations: 23.61 kB / 1.07 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001757/1.124, allocations: 184.8 kB / 1.071 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001815/1.126, allocations: 374.1 kB / 1.071 GB, free: 78.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/1.144, allocations: 5.077 MB / 1.076 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05481/1.199, allocations: 30.75 MB / 1.106 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/1.203, allocations: 1.384 MB / 1.107 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/1.206, allocations: 1.329 MB / 1.109 GB, free: 51.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/1.207, allocations: 17.25 kB / 1.109 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/1.207, allocations: 50.81 kB / 1.109 GB, free: 51.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 5.139e-06/1.207, allocations: 0 / 1.109 GB, free: 51.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.2089/1.416, allocations: 22.78 MB / 1.131 GB, free: 41.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.416, allocations: 80.95 kB / 1.131 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004452/1.42, allocations: 2.032 MB / 1.133 GB, free: 40.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004893/1.421, allocations: 64.95 kB / 1.133 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.422, allocations: 2.004 MB / 1.135 GB, free: 38.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.423, allocations: 0.6841 MB / 1.136 GB, free: 38.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/1.424, allocations: 47.12 kB / 1.136 GB, free: 38.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.424, allocations: 399.8 kB / 1.136 GB, free: 37.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/1.427, allocations: 1.423 MB / 1.137 GB, free: 36.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/1.431, allocations: 2.002 MB / 1.139 GB, free: 35.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/1.435, allocations: 1.728 MB / 1.141 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/1.436, allocations: 3.75 kB / 1.141 GB, free: 34.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.018/1.454, allocations: 5.631 MB / 1.147 GB, free: 28.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/1.454, allocations: 12 kB / 1.147 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/1.454, allocations: 17.22 kB / 1.147 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/1.465, allocations: 2.076 MB / 1.149 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.468, allocations: 384.2 kB / 1.149 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05414/1.522, allocations: 35.49 MB / 1.184 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/1.526, allocations: 127.9 kB / 1.184 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00058/1.527, allocations: 95.98 kB / 1.184 GB, free: 4.148 MB / 0.698 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.004768/1.532, allocations: 1.512 MB / 1.185 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.533, allocations: 280.7 kB / 1.186 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/1.557, allocations: 5.195 MB / 1.191 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/1.557, allocations: 20 kB / 1.191 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001412/1.557, allocations: 23.94 kB / 1.191 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.305e-05/1.557, allocations: 7.969 kB / 1.191 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05284/1.61, allocations: 9.653 MB / 1.2 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/1.61, allocations: 11.84 kB / 1.2 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002948/1.613, allocations: 217.7 kB / 1.2 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01826/1.631, allocations: 1.843 MB / 1.202 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006047/1.632, allocations: 44 kB / 1.202 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07894/1.711, allocations: 34.5 MB / 1.236 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.917e-05/1.711, allocations: 8 kB / 1.236 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02642/1.737, allocations: 4.898 MB / 1.241 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003635/1.741, allocations: 0.6225 MB / 1.241 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.743, allocations: 44.08 kB / 1.241 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00508/1.748, allocations: 127.8 kB / 1.241 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001494/1.749, allocations: 193.6 kB / 1.242 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006033/1.75, allocations: 60 kB / 1.242 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.006076/1.756, allocations: 1.359 MB / 1.243 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.543e-06/1.756, allocations: 0 / 1.243 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009484/1.766, allocations: 1.031 MB / 1.244 GB, free: 3.664 MB / 0.7605 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.001071/1.767, allocations: 170.9 kB / 1.244 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02738/1.794, allocations: 6.25 MB / 1.25 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.317e-05/1.794, allocations: 4 kB / 1.25 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01848/1.813, allocations: 4.392 MB / 1.255 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/1.826, allocations: 0.9188 MB / 1.255 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03694/1.863, allocations: 9.602 MB / 1.265 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009918/1.873, allocations: 3.125 MB / 1.268 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004898/1.878, allocations: 0.5159 MB / 1.268 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.879, allocations: 147.4 kB / 1.269 GB, free: 10 MB / 0.7917 GB Notification: Performance of SimCode: time 1.483e-06/1.879, allocations: 3.938 kB / 1.269 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of Templates: time 0.1912/2.071, allocations: 55.5 MB / 1.323 GB, free: 3.188 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (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 & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)