Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.825/2.825, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001582/0.001582, allocations: 182.2 kB / 371 MB, free: 10.85 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.165/2.165, allocations: 205.4 MB / 0.6297 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.0009964/0.0009961, allocations: 88.97 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004921, allocations: 11.95 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2599, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02581/0.2857, allocations: 13.21 MB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.3046, allocations: 9.698 MB / 1.001 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.3065, allocations: 47.62 kB / 1.001 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.308, allocations: 281.8 kB / 1.001 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006628/0.3147, allocations: 1.457 MB / 1.002 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.3173, allocations: 0.5201 MB / 1.003 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005247/0.3225, allocations: 2.894 MB / 1.006 GB, free: 136 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005016/0.3276, allocations: 1.82 MB / 1.008 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.331, allocations: 1.281 MB / 1.009 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.3333, allocations: 1.047 MB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.3336, allocations: 72 kB / 1.01 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.3355, allocations: 431.5 kB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008051/0.3363, allocations: 0.4905 MB / 1.011 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007598/0.3371, allocations: 352.8 kB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004314/0.3414, allocations: 2.135 MB / 1.013 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3415, allocations: 0 / 1.013 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.336e-06/0.3415, allocations: 0 / 1.013 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.119e-05/0.3416, allocations: 0 / 1.013 GB, free: 8.465 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.005801/0.3474, allocations: 1.851 MB / 1.015 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3475, allocations: 16.02 kB / 1.015 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/0.3687, allocations: 2.17 MB / 1.017 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/0.3729, allocations: 1.159 MB / 1.018 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.373, allocations: 90.25 kB / 1.018 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.3735, allocations: 116 kB / 1.019 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.384, allocations: 2.686 MB / 1.021 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.396e-05/0.3841, allocations: 11.84 kB / 1.021 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/0.3844, allocations: 59.97 kB / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/0.3857, allocations: 190.1 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.4001, allocations: 2.83 MB / 1.024 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02683/0.4269, allocations: 10.58 MB / 1.034 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.4397, allocations: 2.383 MB / 1.037 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006045/0.4458, allocations: 1.296 MB / 1.038 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.446, allocations: 12.98 kB / 1.038 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/0.446, allocations: 43.5 kB / 1.038 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.347e-06/0.4461, allocations: 0 / 1.038 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.1127/0.5588, allocations: 16.51 MB / 1.054 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.5589, allocations: 68.66 kB / 1.054 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.5616, allocations: 1.16 MB / 1.055 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004425/0.5622, allocations: 57.7 kB / 1.056 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009393/0.5631, allocations: 0.7398 MB / 1.056 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.5642, allocations: 0.5081 MB / 1.057 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.5645, allocations: 32 kB / 1.057 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.5647, allocations: 365.9 kB / 1.057 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007088/0.5718, allocations: 1.518 MB / 1.059 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00743/0.5793, allocations: 1.803 MB / 1.06 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/0.5868, allocations: 1.642 MB / 1.062 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.5869, allocations: 4 kB / 1.062 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0255/0.6124, allocations: 5.304 MB / 1.067 GB, free: 40 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.6125, allocations: 8.875 kB / 1.067 GB, free: 32 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.6125, allocations: 8 kB / 1.067 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6495/1.262, allocations: 1.883 MB / 1.069 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/1.266, allocations: 428.4 kB / 1.069 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04691/1.313, allocations: 22.13 MB / 1.091 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004797/1.318, allocations: 319.5 kB / 1.091 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/1.318, allocations: 63.2 kB / 1.091 GB, free: 70.37 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001517/1.32, allocations: 474 kB / 1.092 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000648/1.321, allocations: 180.1 kB / 1.092 GB, free: 69.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/1.347, allocations: 5.348 MB / 1.097 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.479e-05/1.347, allocations: 14.14 kB / 1.097 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.35e-05/1.347, allocations: 19.97 kB / 1.097 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/1.347, allocations: 7.219 kB / 1.097 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03026/1.377, allocations: 7.452 MB / 1.105 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/1.377, allocations: 3.906 kB / 1.105 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/1.381, allocations: 363.5 kB / 1.105 GB, free: 65.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/1.391, allocations: 1.7 MB / 1.107 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003859/1.392, allocations: 46.56 kB / 1.107 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04019/1.432, allocations: 21.34 MB / 1.127 GB, free: 48.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.432, allocations: 3.625 kB / 1.127 GB, free: 48.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03295/1.465, allocations: 4.91 MB / 1.132 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002482/1.468, allocations: 494.3 kB / 1.133 GB, free: 45.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.469, allocations: 28.69 kB / 1.133 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006767/1.476, allocations: 336.1 kB / 1.133 GB, free: 45.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/1.477, allocations: 145.4 kB / 1.133 GB, free: 44.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005432/1.477, allocations: 59.02 kB / 1.133 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00261/1.48, allocations: 0.7797 MB / 1.134 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.412e-06/1.48, allocations: 0 / 1.134 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005184/1.485, allocations: 0.6606 MB / 1.135 GB, free: 44.45 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008604/1.486, allocations: 134.6 kB / 1.135 GB, free: 44.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02589/1.512, allocations: 5.196 MB / 1.14 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.512, allocations: 0 / 1.14 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01177/1.524, allocations: 3.364 MB / 1.143 GB, free: 37.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/1.528, allocations: 0.5336 MB / 1.144 GB, free: 37.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.543, allocations: 4.852 MB / 1.148 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.545, allocations: 1.571 MB / 1.15 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002782/1.548, allocations: 386.4 kB / 1.15 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/1.548, allocations: 107.4 kB / 1.15 GB, free: 30.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/1.548, allocations: 0 / 1.15 GB, free: 30.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.1024/1.651, allocations: 41.43 MB / 1.191 GB, free: 5 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)