Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 102.8 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 63.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2389, allocations: 114.5 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.4436/0.6826, allocations: 14.66 MB / 0.7991 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.696, allocations: 10.44 MB / 0.8093 GB, free: 35.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.698, allocations: 53.47 kB / 0.8093 GB, free: 35.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/0.7025, allocations: 1.691 MB / 0.811 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006423/0.7089, allocations: 1.803 MB / 0.8128 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.7112, allocations: 0.7545 MB / 0.8135 GB, free: 32.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006068/0.7173, allocations: 2.758 MB / 0.8162 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003682/0.721, allocations: 1.413 MB / 0.8176 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/0.7257, allocations: 1.507 MB / 0.819 GB, free: 30.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.7286, allocations: 1.162 MB / 0.8202 GB, free: 29.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.729, allocations: 162 kB / 0.8203 GB, free: 29.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.7312, allocations: 0.7822 MB / 0.8211 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007599/0.732, allocations: 0.614 MB / 0.8217 GB, free: 29.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.7333, allocations: 0.9498 MB / 0.8226 GB, free: 28.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.7375, allocations: 2.763 MB / 0.8253 GB, free: 27.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.7375, allocations: 3.062 kB / 0.8253 GB, free: 27.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7375, allocations: 0 / 0.8253 GB, free: 27.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.192e-05/0.7376, allocations: 4 kB / 0.8253 GB, free: 27.9 MB / 0.6544 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.004813/0.7424, allocations: 2.174 MB / 0.8274 GB, free: 26.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7424, allocations: 10.83 kB / 0.8275 GB, free: 26.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.7552, allocations: 2.11 MB / 0.8295 GB, free: 26.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.7587, allocations: 1.303 MB / 0.8308 GB, free: 25.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/0.7588, allocations: 89.61 kB / 0.8309 GB, free: 25.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003416/0.7591, allocations: 115.7 kB / 0.831 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006828/0.7659, allocations: 2.675 MB / 0.8336 GB, free: 24.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.766, allocations: 7.906 kB / 0.8336 GB, free: 24.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.7662, allocations: 51.22 kB / 0.8337 GB, free: 24.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000714/0.7669, allocations: 195.6 kB / 0.8338 GB, free: 24.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009183/0.7761, allocations: 2.795 MB / 0.8366 GB, free: 23.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.7919, allocations: 10.46 MB / 0.8468 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/0.7988, allocations: 2.336 MB / 0.8491 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003269/0.8021, allocations: 1.28 MB / 0.8503 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.8023, allocations: 10.31 kB / 0.8503 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.8023, allocations: 44.5 kB / 0.8504 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.256e-06/0.8023, allocations: 4 kB / 0.8504 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=153): time 0.06077/0.8631, allocations: 16.48 MB / 0.8665 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.8632, allocations: 71.84 kB / 0.8665 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.865, allocations: 1.177 MB / 0.8677 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002861/0.8653, allocations: 49.7 kB / 0.8677 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.8657, allocations: 0.7476 MB / 0.8685 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005471/0.8663, allocations: 0.512 MB / 0.869 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.8669, allocations: 283.5 kB / 0.8692 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.867, allocations: 317.1 kB / 0.8695 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/0.8703, allocations: 1.507 MB / 0.871 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/0.8739, allocations: 1.776 MB / 0.8727 GB, free: 15.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008009/0.8819, allocations: 3.365 MB / 0.876 GB, free: 11.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.882, allocations: 0 / 0.876 GB, free: 11.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01458/0.8966, allocations: 5.284 MB / 0.8812 GB, free: 6.531 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.8966, allocations: 10.03 kB / 0.8812 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.8967, allocations: 4.703 kB / 0.8812 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007132/0.9038, allocations: 1.882 MB / 0.883 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.906, allocations: 415.3 kB / 0.8834 GB, free: 4.211 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03169/0.9377, allocations: 24.15 MB / 0.907 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/0.941, allocations: 308.1 kB / 0.9073 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000399/0.9414, allocations: 67.97 kB / 0.9074 GB, free: 10.6 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001322/0.9428, allocations: 465.4 kB / 0.9078 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006589/0.9434, allocations: 173.9 kB / 0.908 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/0.9582, allocations: 5.315 MB / 0.9132 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.9583, allocations: 16 kB / 0.9132 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.97e-05/0.9584, allocations: 21.19 kB / 0.9132 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.9584, allocations: 7.969 kB / 0.9132 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.9778, allocations: 7.422 MB / 0.9205 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.9778, allocations: 7.938 kB / 0.9205 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.9798, allocations: 359.7 kB / 0.9208 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006731/0.9866, allocations: 1.695 MB / 0.9225 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003308/0.9869, allocations: 47.95 kB / 0.9225 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03103/1.018, allocations: 23.3 MB / 0.9453 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.018, allocations: 7.938 kB / 0.9453 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/1.032, allocations: 4.883 MB / 0.9501 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.033, allocations: 0.4986 MB / 0.9505 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006667/1.034, allocations: 29.06 kB / 0.9506 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.037, allocations: 319.5 kB / 0.9509 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/1.038, allocations: 152.9 kB / 0.951 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.038, allocations: 55.97 kB / 0.9511 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001706/1.039, allocations: 0.7899 MB / 0.9518 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/1.04, allocations: 0 / 0.9518 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003265/1.043, allocations: 0.6562 MB / 0.9525 GB, free: 11.01 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004112/1.043, allocations: 154.6 kB / 0.9526 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.055, allocations: 5.143 MB / 0.9577 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.056, allocations: 4 kB / 0.9577 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00746/1.063, allocations: 3.355 MB / 0.9609 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.066, allocations: 0.5561 MB / 0.9615 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.077, allocations: 4.404 MB / 0.9658 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/1.078, allocations: 1.572 MB / 0.9673 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006122/1.079, allocations: 123.3 kB / 0.9674 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/1.079, allocations: 0 / 0.9674 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of Templates: time 0.09436/1.173, allocations: 85.73 MB / 1.051 GB, free: 5.875 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)