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.001294/0.001294, allocations: 103 kB / 16.94 MB, free: 6.164 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.00132/0.00132, allocations: 187.6 kB / 17.87 MB, free: 5.297 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.362/1.362, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7557/0.7557, allocations: 122.9 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.4917 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.38, allocations: 77.92 MB / 0.5678 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01504/0.3951, allocations: 14.75 MB / 0.5822 GB, free: 22.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.4086, allocations: 10.37 MB / 0.5924 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.4104, allocations: 53.62 kB / 0.5924 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003674/0.4141, allocations: 1.687 MB / 0.5941 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.4196, allocations: 1.815 MB / 0.5958 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.4215, allocations: 0.7589 MB / 0.5966 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003746/0.4253, allocations: 2.742 MB / 0.5993 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.4271, allocations: 1.419 MB / 0.6006 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.4289, allocations: 1.5 MB / 0.6021 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.4301, allocations: 1.156 MB / 0.6032 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.4303, allocations: 163.9 kB / 0.6034 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.4316, allocations: 0.7916 MB / 0.6042 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.432, allocations: 0.5998 MB / 0.6048 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006651/0.4327, allocations: 0.9561 MB / 0.6057 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.4349, allocations: 2.737 MB / 0.6084 GB, free: 1.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4349, allocations: 3.938 kB / 0.6084 GB, free: 1.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4349, allocations: 0 / 0.6084 GB, free: 1.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.689e-05/0.4349, allocations: 0 / 0.6084 GB, free: 1.266 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.003646/0.4386, allocations: 2.17 MB / 0.6105 GB, free: 15.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4386, allocations: 12.62 kB / 0.6105 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.45, allocations: 2.112 MB / 0.6126 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.4529, allocations: 1.21 MB / 0.6137 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/0.453, allocations: 86.69 kB / 0.6138 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.4532, allocations: 128 kB / 0.6139 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/0.4588, allocations: 2.674 MB / 0.6166 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.4588, allocations: 3.984 kB / 0.6166 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.459, allocations: 59.97 kB / 0.6166 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006862/0.4597, allocations: 194.1 kB / 0.6168 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007279/0.467, allocations: 2.795 MB / 0.6195 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.4818, allocations: 10.5 MB / 0.6298 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006509/0.4884, allocations: 2.34 MB / 0.6321 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/0.4915, allocations: 1.284 MB / 0.6333 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.159e-05/0.4916, allocations: 13 kB / 0.6333 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.4916, allocations: 39.56 kB / 0.6334 GB, free: 6.738 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.796e-06/0.4917, allocations: 0 / 0.6334 GB, free: 6.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.06165/0.5533, allocations: 16.49 MB / 0.6495 GB, free: 6.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.5534, allocations: 68.72 kB / 0.6496 GB, free: 6.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.5555, allocations: 1.168 MB / 0.6507 GB, free: 4.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003768/0.5559, allocations: 53.7 kB / 0.6507 GB, free: 4.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006182/0.5565, allocations: 0.7397 MB / 0.6515 GB, free: 4.023 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/0.5572, allocations: 0.5121 MB / 0.652 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007099/0.5579, allocations: 291.4 kB / 0.6522 GB, free: 3.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.558, allocations: 305.1 kB / 0.6525 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/0.5618, allocations: 1.507 MB / 0.654 GB, free: 1.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/0.5657, allocations: 1.784 MB / 0.6558 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007668/0.5734, allocations: 3.362 MB / 0.659 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.5735, allocations: 0 / 0.659 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01405/0.5875, allocations: 5.285 MB / 0.6642 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.5876, allocations: 8 kB / 0.6642 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.5876, allocations: 4 kB / 0.6642 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/0.5945, allocations: 1.897 MB / 0.6661 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.5965, allocations: 419.3 kB / 0.6665 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03163/0.6282, allocations: 24.15 MB / 0.69 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/0.631, allocations: 303.5 kB / 0.6903 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.6313, allocations: 71.95 kB / 0.6904 GB, free: 10.77 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.001186/0.6325, allocations: 462.8 kB / 0.6908 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007775/0.6333, allocations: 173.9 kB / 0.691 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.6476, allocations: 5.324 MB / 0.6962 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/0.6477, allocations: 20.08 kB / 0.6962 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.897e-05/0.6478, allocations: 23.94 kB / 0.6962 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.6478, allocations: 7.969 kB / 0.6963 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.6656, allocations: 7.406 MB / 0.7035 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.6656, allocations: 4 kB / 0.7035 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.6674, allocations: 363.6 kB / 0.7038 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006451/0.6739, allocations: 1.716 MB / 0.7055 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/0.6741, allocations: 43.97 kB / 0.7056 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02814/0.7023, allocations: 23.32 MB / 0.7283 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7023, allocations: 7.938 kB / 0.7283 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/0.7153, allocations: 4.889 MB / 0.7331 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.7167, allocations: 490.8 kB / 0.7336 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/0.7173, allocations: 31.98 kB / 0.7336 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/0.7199, allocations: 315.5 kB / 0.7339 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000634/0.7205, allocations: 153 kB / 0.7341 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/0.7207, allocations: 55.97 kB / 0.7341 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001391/0.7221, allocations: 0.7899 MB / 0.7349 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7222, allocations: 0 / 0.7349 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002785/0.7249, allocations: 0.6562 MB / 0.7355 GB, free: 11.14 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.000416/0.7254, allocations: 145.2 kB / 0.7357 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0125/0.7379, allocations: 5.429 MB / 0.741 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/0.738, allocations: 4.125 kB / 0.741 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007507/0.7455, allocations: 3.347 MB / 0.7442 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/0.7491, allocations: 0.5595 MB / 0.7448 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3229/1.072, allocations: 4.456 MB / 0.7491 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/1.075, allocations: 1.564 MB / 0.7507 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.076, allocations: 131.7 kB / 0.7508 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.723e-06/1.076, allocations: 0.6875 kB / 0.7508 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.0913/1.168, allocations: 85.71 MB / 0.8345 GB, free: 88.36 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)