Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001554/0.001554, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001671/0.001671, allocations: 199 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7587/0.7587, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 71.89 kB / 0.4906 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4287, allocations: 77.91 MB / 0.5667 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01463/0.4434, allocations: 14.67 MB / 0.581 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.4561, allocations: 10.24 MB / 0.591 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.4583, allocations: 53.69 kB / 0.5911 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.4624, allocations: 1.602 MB / 0.5926 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00503/0.4675, allocations: 1.613 MB / 0.5942 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.4692, allocations: 0.689 MB / 0.5949 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003467/0.4727, allocations: 2.757 MB / 0.5976 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.4749, allocations: 1.596 MB / 0.5991 GB, free: 9.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.4775, allocations: 1.525 MB / 0.6006 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.4794, allocations: 1.195 MB / 0.6018 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.4796, allocations: 164 kB / 0.6019 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.4812, allocations: 0.7877 MB / 0.6027 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004439/0.4816, allocations: 0.6037 MB / 0.6033 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008515/0.4825, allocations: 0.9523 MB / 0.6042 GB, free: 4.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.4851, allocations: 2.784 MB / 0.607 GB, free: 1.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4851, allocations: 4 kB / 0.607 GB, free: 1.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4851, allocations: 3.938 kB / 0.607 GB, free: 1.723 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.4851, allocations: 4 kB / 0.607 GB, free: 1.719 MB / 446.1 MB 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.00329/0.4884, allocations: 2.167 MB / 0.6091 GB, free: 15.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4885, allocations: 8.625 kB / 0.6091 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.5003, allocations: 2.108 MB / 0.6112 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.503, allocations: 1.206 MB / 0.6123 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.5031, allocations: 90.69 kB / 0.6124 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.5034, allocations: 131.9 kB / 0.6125 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005878/0.5092, allocations: 2.666 MB / 0.6151 GB, free: 9.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.5093, allocations: 11.92 kB / 0.6152 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.5095, allocations: 55.98 kB / 0.6152 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006454/0.5101, allocations: 190.1 kB / 0.6154 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007733/0.5179, allocations: 2.791 MB / 0.6181 GB, free: 6.016 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.5331, allocations: 10.52 MB / 0.6284 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006639/0.5398, allocations: 2.336 MB / 0.6307 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/0.5429, allocations: 1.276 MB / 0.6319 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.15e-05/0.543, allocations: 13 kB / 0.6319 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.5431, allocations: 43.5 kB / 0.632 GB, free: 7.207 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 3.346e-06/0.5431, allocations: 0 / 0.632 GB, free: 7.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.05943/0.6025, allocations: 16.48 MB / 0.6481 GB, free: 6.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.6026, allocations: 64.72 kB / 0.6481 GB, free: 6.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.6045, allocations: 1.184 MB / 0.6493 GB, free: 5.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.6047, allocations: 49.7 kB / 0.6493 GB, free: 5.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000568/0.6053, allocations: 0.7398 MB / 0.6501 GB, free: 4.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005493/0.6058, allocations: 0.5198 MB / 0.6506 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006246/0.6065, allocations: 295.4 kB / 0.6508 GB, free: 3.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.6066, allocations: 305.1 kB / 0.6511 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/0.6101, allocations: 1.503 MB / 0.6526 GB, free: 1.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/0.6139, allocations: 1.788 MB / 0.6544 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/0.6212, allocations: 3.365 MB / 0.6576 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.6213, allocations: 4 kB / 0.6576 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0136/0.6349, allocations: 5.276 MB / 0.6628 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6349, allocations: 8 kB / 0.6628 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.635, allocations: 8 kB / 0.6628 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/0.6421, allocations: 1.892 MB / 0.6647 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.644, allocations: 419.3 kB / 0.6651 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03023/0.6743, allocations: 24.15 MB / 0.6886 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.677, allocations: 303.5 kB / 0.6889 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/0.6774, allocations: 72.02 kB / 0.689 GB, free: 11.23 MB / 0.5294 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.001022/0.6784, allocations: 457.5 kB / 0.6894 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000464/0.6789, allocations: 177.9 kB / 0.6896 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.6931, allocations: 5.324 MB / 0.6948 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.6932, allocations: 12 kB / 0.6948 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.399e-05/0.6933, allocations: 24 kB / 0.6948 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.6933, allocations: 7.969 kB / 0.6948 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.7114, allocations: 7.422 MB / 0.7021 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.7114, allocations: 0 / 0.7021 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.7132, allocations: 351.4 kB / 0.7024 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006236/0.7194, allocations: 1.724 MB / 0.7041 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.7196, allocations: 39.97 kB / 0.7042 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0301/0.7497, allocations: 23.32 MB / 0.7269 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7498, allocations: 8.531 kB / 0.7269 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.7629, allocations: 4.893 MB / 0.7317 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.7643, allocations: 490.8 kB / 0.7322 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006384/0.765, allocations: 32 kB / 0.7322 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/0.7676, allocations: 315.5 kB / 0.7325 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008058/0.7684, allocations: 153 kB / 0.7327 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/0.7687, allocations: 55.91 kB / 0.7327 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001519/0.7702, allocations: 0.7938 MB / 0.7335 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7702, allocations: 0 / 0.7335 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002873/0.7731, allocations: 0.6562 MB / 0.7341 GB, free: 11.6 MB / 0.5762 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.0004455/0.7736, allocations: 139.2 kB / 0.7343 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01241/0.786, allocations: 5.429 MB / 0.7396 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.786, allocations: 0 / 0.7396 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007399/0.7934, allocations: 3.359 MB / 0.7428 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.7969, allocations: 0.5606 MB / 0.7434 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.272/1.069, allocations: 4.986 MB / 0.7483 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/1.071, allocations: 1.564 MB / 0.7498 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002328/1.073, allocations: 383.7 kB / 0.7501 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/1.073, allocations: 112.4 kB / 0.7503 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/1.073, allocations: 0 / 0.7503 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.07376/1.147, allocations: 45.07 MB / 0.7943 GB, free: 129.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)