Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.686/1.686, allocations: 287.5 MB / 302.6 MB, free: 8.285 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.001019/0.001019, allocations: 180.9 kB / 371.2 MB, free: 10.84 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.532/1.532, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008283/0.0008281, allocations: 88.23 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004198, allocations: 19.36 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2801, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01137/0.2915, allocations: 12.56 MB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.3027, allocations: 8.829 MB / 0.9996 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.3044, allocations: 51.62 kB / 0.9996 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.3056, allocations: 269.8 kB / 0.9999 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.3096, allocations: 1.269 MB / 1.001 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.3113, allocations: 0.5161 MB / 1.002 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002782/0.3141, allocations: 2.688 MB / 1.004 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.3167, allocations: 1.952 MB / 1.006 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.3184, allocations: 0.8481 MB / 1.007 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.3198, allocations: 1.027 MB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.32, allocations: 72 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3212, allocations: 431.5 kB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.3217, allocations: 0.5062 MB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.3221, allocations: 344.8 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.3242, allocations: 2.119 MB / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3242, allocations: 0 / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3242, allocations: 3.938 kB / 1.011 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.3243, allocations: 0 / 1.011 GB, free: 10.58 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003299/0.3276, allocations: 1.812 MB / 1.013 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3276, allocations: 8.031 kB / 1.013 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.3381, allocations: 2.152 MB / 1.015 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.3406, allocations: 1.193 MB / 1.016 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.3407, allocations: 94.73 kB / 1.017 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.3409, allocations: 128.1 kB / 1.017 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005815/0.3467, allocations: 2.694 MB / 1.019 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.3468, allocations: 11.84 kB / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.347, allocations: 51.98 kB / 1.019 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006121/0.3476, allocations: 182.1 kB / 1.019 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007378/0.355, allocations: 2.834 MB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.3698, allocations: 10.57 MB / 1.033 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006543/0.3764, allocations: 2.572 MB / 1.035 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002935/0.3793, allocations: 1.299 MB / 1.036 GB, free: 64 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/0.3794, allocations: 9 kB / 1.036 GB, free: 56 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3794, allocations: 47.56 kB / 1.036 GB, free: 0 / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.056e-06/0.3795, allocations: 7.984 kB / 1.036 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.04477/0.4243, allocations: 13.44 MB / 1.05 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.4244, allocations: 76.64 kB / 1.05 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.4267, allocations: 1.101 MB / 1.051 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/0.427, allocations: 49.64 kB / 1.051 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.4277, allocations: 0.7194 MB / 1.051 GB, free: 364 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006847/0.4284, allocations: 449.7 kB / 1.052 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.4286, allocations: 24 kB / 1.052 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4288, allocations: 365.9 kB / 1.052 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.4322, allocations: 1.358 MB / 1.054 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/0.4357, allocations: 1.612 MB / 1.055 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.4426, allocations: 3.03 MB / 1.058 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.4426, allocations: 4 kB / 1.058 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01186/0.4545, allocations: 4.462 MB / 1.062 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.4546, allocations: 16.12 kB / 1.062 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.4546, allocations: 8 kB / 1.062 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006431/0.4611, allocations: 1.419 MB / 1.064 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.4634, allocations: 459.2 kB / 1.064 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6066/1.07, allocations: 24.53 MB / 1.088 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003309/1.073, allocations: 312.5 kB / 1.089 GB, free: 67.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.074, allocations: 62.56 kB / 1.089 GB, free: 67.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001162/1.075, allocations: 435.7 kB / 1.089 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/1.075, allocations: 163.2 kB / 1.089 GB, free: 67.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.089, allocations: 4.482 MB / 1.094 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/1.089, allocations: 13.16 kB / 1.094 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/1.089, allocations: 13.66 kB / 1.094 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.089, allocations: 7.688 kB / 1.094 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/1.107, allocations: 6.813 MB / 1.1 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.108, allocations: 2.469 kB / 1.1 GB, free: 63.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/1.11, allocations: 393.8 kB / 1.101 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00503/1.115, allocations: 1.308 MB / 1.102 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.115, allocations: 38.55 kB / 1.102 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/1.135, allocations: 23.51 MB / 1.125 GB, free: 43.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/1.135, allocations: 7.062 kB / 1.125 GB, free: 43.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.147, allocations: 4.23 MB / 1.129 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.148, allocations: 458.4 kB / 1.129 GB, free: 40.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/1.149, allocations: 24.41 kB / 1.129 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.151, allocations: 318.8 kB / 1.13 GB, free: 40.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/1.151, allocations: 126.3 kB / 1.13 GB, free: 40.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.151, allocations: 51.25 kB / 1.13 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001253/1.153, allocations: 0.7467 MB / 1.131 GB, free: 40.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.11e-07/1.153, allocations: 0 / 1.131 GB, free: 40.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002989/1.156, allocations: 0.566 MB / 1.131 GB, free: 40.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003102/1.156, allocations: 140.7 kB / 1.131 GB, free: 40.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.011/1.167, allocations: 5.158 MB / 1.136 GB, free: 36.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.167, allocations: 5.312 kB / 1.136 GB, free: 36.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006792/1.174, allocations: 3.491 MB / 1.14 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/1.177, allocations: 0.498 MB / 1.14 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009329/1.187, allocations: 4.534 MB / 1.145 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.188, allocations: 1.482 MB / 1.146 GB, free: 30 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001944/1.19, allocations: 417.5 kB / 1.147 GB, free: 29.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/1.19, allocations: 117.2 kB / 1.147 GB, free: 29.76 MB / 0.6823 GB Notification: Performance of SimCode: time 1.282e-06/1.19, allocations: 7.938 kB / 1.147 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.05677/1.247, allocations: 36.13 MB / 1.182 GB, free: 11.79 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)