Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.00125/0.00125, allocations: 181 kB / 377.1 MB, free: 1.527 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.003/2.003, allocations: 205.4 MB / 0.6367 GB, free: 8.543 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009265/0.0009263, allocations: 94.12 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004152, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.304, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9412/1.245, allocations: 208 MB / 1.192 GB, free: 6.438 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004959/1.246, allocations: 106.8 kB / 1.192 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2557/1.502, allocations: 84.72 MB / 1.274 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.515e-06/1.502, allocations: 0 / 1.274 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002196/1.502, allocations: 39.94 kB / 1.274 GB, free: 0.8633 MB / 0.8386 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.006645/1.509, allocations: 1.815 MB / 1.276 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.509, allocations: 12.02 kB / 1.276 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/1.52, allocations: 1.878 MB / 1.278 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00494/1.525, allocations: 1.239 MB / 1.279 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/1.526, allocations: 82.36 kB / 1.279 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008025/1.526, allocations: 120 kB / 1.279 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008687/1.535, allocations: 2.732 MB / 1.282 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.42e-05/1.535, allocations: 15.83 kB / 1.282 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/1.536, allocations: 59.98 kB / 1.282 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/1.536, allocations: 78.3 kB / 1.282 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009555/1.545, allocations: 2.854 MB / 1.285 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/1.566, allocations: 10.72 MB / 1.296 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006983/1.573, allocations: 2.586 MB / 1.298 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/1.573, allocations: 12.98 kB / 1.298 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.327e-05/1.573, allocations: 51.52 kB / 1.298 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=89): time 5.56e-06/1.573, allocations: 0 / 1.298 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.04956/1.623, allocations: 14 MB / 1.312 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.623, allocations: 218.9 kB / 1.312 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/1.625, allocations: 0.9658 MB / 1.313 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/1.625, allocations: 49.7 kB / 1.313 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/1.626, allocations: 0.708 MB / 1.314 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005614/1.626, allocations: 457.3 kB / 1.314 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/1.626, allocations: 24 kB / 1.314 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.627, allocations: 361.9 kB / 1.314 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/1.63, allocations: 1.365 MB / 1.316 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/1.634, allocations: 1.634 MB / 1.317 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/1.637, allocations: 1.462 MB / 1.319 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.637, allocations: 0 / 1.319 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0121/1.649, allocations: 4.556 MB / 1.323 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/1.649, allocations: 12.12 kB / 1.323 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.649, allocations: 8 kB / 1.323 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006631/1.656, allocations: 1.615 MB / 1.325 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/1.658, allocations: 443.2 kB / 1.325 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03024/1.688, allocations: 25.32 MB / 1.35 GB, free: 260 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/1.692, allocations: 319.5 kB / 1.35 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/1.692, allocations: 59.97 kB / 1.35 GB, free: 15.88 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (95): * Single equations (assignments): 82 * 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 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001586/1.694, allocations: 437.4 kB / 1.351 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006862/1.694, allocations: 166.1 kB / 1.351 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.708, allocations: 4.597 MB / 1.355 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/1.708, allocations: 12 kB / 1.355 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-05/1.708, allocations: 16 kB / 1.355 GB, free: 10.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.708, allocations: 11.97 kB / 1.355 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/1.726, allocations: 7.005 MB / 1.362 GB, free: 3.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/1.726, allocations: 4 kB / 1.362 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.728, allocations: 391.7 kB / 1.363 GB, free: 3.035 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006367/1.735, allocations: 1.514 MB / 1.364 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/1.735, allocations: 39.92 kB / 1.364 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6767/2.412, allocations: 24.35 MB / 1.388 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/2.412, allocations: 5.438 kB / 1.388 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/2.424, allocations: 4.512 MB / 1.392 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/2.426, allocations: 473.5 kB / 1.393 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/2.426, allocations: 29.89 kB / 1.393 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/2.428, allocations: 324.8 kB / 1.393 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005384/2.429, allocations: 120.2 kB / 1.393 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/2.429, allocations: 51.81 kB / 1.393 GB, free: 203.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001276/2.43, allocations: 0.7517 MB / 1.394 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/2.43, allocations: 0.75 kB / 1.394 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002931/2.433, allocations: 0.6014 MB / 1.395 GB, free: 203.5 MB / 0.9323 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,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004211/2.433, allocations: 165.3 kB / 1.395 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01302/2.446, allocations: 5.177 MB / 1.4 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/2.446, allocations: 4.656 kB / 1.4 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008035/2.455, allocations: 3.563 MB / 1.403 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/2.457, allocations: 498.6 kB / 1.404 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/2.467, allocations: 4.514 MB / 1.408 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/2.469, allocations: 1.513 MB / 1.41 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002177/2.471, allocations: 428.2 kB / 1.41 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/2.471, allocations: 107.8 kB / 1.41 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.203e-06/2.471, allocations: 4.188 kB / 1.41 GB, free: 198.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.06542/2.537, allocations: 37.66 MB / 1.447 GB, free: 196.5 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)