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.0008567/0.0008568, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 184.3 kB / 16.92 MB, free: 6.934 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.504/1.504, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8308/0.8308, allocations: 126.9 MB / 418.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 8 kB / 0.498 GB, free: 9.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5097, allocations: 80.23 MB / 0.5763 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01544/0.5252, allocations: 14.12 MB / 0.5901 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.5448, allocations: 10.23 MB / 0.6001 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.5481, allocations: 50.44 kB / 0.6002 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.5499, allocations: 291.2 kB / 0.6004 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008365/0.5583, allocations: 1.611 MB / 0.602 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.5611, allocations: 0.6841 MB / 0.6027 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006301/0.5674, allocations: 3.413 MB / 0.606 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004336/0.5717, allocations: 1.98 MB / 0.608 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.5748, allocations: 1.322 MB / 0.6092 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.5773, allocations: 1.088 MB / 0.6103 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.5777, allocations: 69.84 kB / 0.6104 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.5803, allocations: 0.8584 MB / 0.6112 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000767/0.5811, allocations: 0.5041 MB / 0.6117 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.5828, allocations: 0.8558 MB / 0.6125 GB, free: 48 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004792/0.5876, allocations: 2.675 MB / 0.6152 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5876, allocations: 0 / 0.6152 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5876, allocations: 1.375 kB / 0.6152 GB, free: 14.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.742e-05/0.5877, allocations: 0 / 0.6152 GB, free: 14.18 MB / 462.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.004854/0.5926, allocations: 1.839 MB / 0.617 GB, free: 12.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5926, allocations: 10.19 kB / 0.617 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.6061, allocations: 2.173 MB / 0.6191 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.6094, allocations: 1.21 MB / 0.6203 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.6095, allocations: 94.62 kB / 0.6204 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.6099, allocations: 124.1 kB / 0.6205 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007202/0.6171, allocations: 2.69 MB / 0.6231 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/0.6172, allocations: 11.84 kB / 0.6231 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.6174, allocations: 55.97 kB / 0.6232 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007509/0.6181, allocations: 190.1 kB / 0.6233 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009051/0.6272, allocations: 2.842 MB / 0.6261 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.6469, allocations: 10.56 MB / 0.6364 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007651/0.6546, allocations: 2.387 MB / 0.6388 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/0.6583, allocations: 1.299 MB / 0.64 GB, free: 5.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.6584, allocations: 12.98 kB / 0.64 GB, free: 5.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.6585, allocations: 51.5 kB / 0.6401 GB, free: 5.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 5.41e-06/0.6585, allocations: 3.984 kB / 0.6401 GB, free: 5.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.06962/0.7281, allocations: 16.53 MB / 0.6562 GB, free: 4.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.7282, allocations: 72.66 kB / 0.6563 GB, free: 4.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.7302, allocations: 1.172 MB / 0.6575 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002474/0.7305, allocations: 49.7 kB / 0.6575 GB, free: 3.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.7313, allocations: 0.7436 MB / 0.6582 GB, free: 2.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006851/0.732, allocations: 0.5198 MB / 0.6587 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.7322, allocations: 125.6 kB / 0.6589 GB, free: 1.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.7325, allocations: 305.1 kB / 0.6591 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/0.7366, allocations: 1.53 MB / 0.6606 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004452/0.7411, allocations: 1.795 MB / 0.6624 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008861/0.75, allocations: 3.412 MB / 0.6657 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.75, allocations: 0 / 0.6657 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01554/0.7656, allocations: 5.327 MB / 0.6709 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.7656, allocations: 8 kB / 0.6709 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.7657, allocations: 11.94 kB / 0.6709 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007434/0.7731, allocations: 1.873 MB / 0.6728 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.7754, allocations: 427.3 kB / 0.6732 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0313/0.8067, allocations: 22.2 MB / 0.6949 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/0.8096, allocations: 319.5 kB / 0.6952 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.8098, allocations: 67.97 kB / 0.6952 GB, free: 11.18 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.0009818/0.8108, allocations: 467.8 kB / 0.6957 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.8111, allocations: 173.9 kB / 0.6959 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/0.8259, allocations: 5.363 MB / 0.7011 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.8259, allocations: 12 kB / 0.7011 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.932e-05/0.826, allocations: 20 kB / 0.7011 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.826, allocations: 7.969 kB / 0.7011 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.8444, allocations: 7.469 MB / 0.7084 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.8444, allocations: 4 kB / 0.7084 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.8463, allocations: 359.3 kB / 0.7088 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/0.8528, allocations: 1.705 MB / 0.7104 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.853, allocations: 55.83 kB / 0.7105 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0289/0.8819, allocations: 21.38 MB / 0.7314 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8819, allocations: 0 / 0.7314 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.8954, allocations: 4.932 MB / 0.7362 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.8965, allocations: 498.8 kB / 0.7367 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.8967, allocations: 28 kB / 0.7367 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/0.899, allocations: 327.5 kB / 0.737 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/0.8996, allocations: 153 kB / 0.7371 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.8997, allocations: 51.97 kB / 0.7372 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001181/0.9009, allocations: 0.7937 MB / 0.738 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9009, allocations: 3.938 kB / 0.738 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002339/0.9033, allocations: 0.6562 MB / 0.7386 GB, free: 13.38 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.0003436/0.9036, allocations: 154.3 kB / 0.7388 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01276/0.9164, allocations: 5.163 MB / 0.7438 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.9165, allocations: 4 kB / 0.7438 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008066/0.9245, allocations: 3.37 MB / 0.7471 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/0.9278, allocations: 0.5197 MB / 0.7476 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/0.9376, allocations: 5.028 MB / 0.7525 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.9391, allocations: 1.568 MB / 0.754 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001684/0.9408, allocations: 386.4 kB / 0.7544 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.9412, allocations: 107.4 kB / 0.7545 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.9412, allocations: 0 / 0.7545 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.07519/1.016, allocations: 42.39 MB / 0.7959 GB, free: 2.848 MB / 0.6231 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)