Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") 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: 107.6 kB / 16.27 MB, free: 5.984 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.00138/0.00138, allocations: 191 kB / 17.2 MB, free: 5.613 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.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8545/0.8545, allocations: 126.7 MB / 417.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003291/0.003291, allocations: 63.91 kB / 0.4958 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4447, allocations: 78.86 MB / 0.5728 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006615/0.4514, allocations: 5.152 MB / 0.5778 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004788/0.4562, allocations: 3.796 MB / 0.5815 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.4566, allocations: 12.34 kB / 0.5815 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.4583, allocations: 0.5699 MB / 0.5821 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.4595, allocations: 485.9 kB / 0.5825 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.4602, allocations: 268 kB / 0.5828 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.4614, allocations: 0.6972 MB / 0.5835 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007714/0.4622, allocations: 0.532 MB / 0.584 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.4628, allocations: 363.4 kB / 0.5843 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.4633, allocations: 301.9 kB / 0.5846 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.4634, allocations: 45.69 kB / 0.5847 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007629/0.4641, allocations: 296.9 kB / 0.585 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.4644, allocations: 177.1 kB / 0.5851 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.4646, allocations: 246.8 kB / 0.5854 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008615/0.4655, allocations: 0.8385 MB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4655, allocations: 1.219 kB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4655, allocations: 0 / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.4655, allocations: 0.9375 kB / 0.5862 GB, free: 21.55 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001282/0.4668, allocations: 0.8119 MB / 0.587 GB, free: 20.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4669, allocations: 9.438 kB / 0.587 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.4698, allocations: 0.6897 MB / 0.5877 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.4705, allocations: 458.6 kB / 0.5881 GB, free: 20.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.4706, allocations: 25.59 kB / 0.5881 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/0.4707, allocations: 40.58 kB / 0.5882 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.4722, allocations: 0.8317 MB / 0.589 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.4723, allocations: 5.031 kB / 0.589 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.4723, allocations: 15.36 kB / 0.589 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.4725, allocations: 59.69 kB / 0.589 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.4746, allocations: 0.9298 MB / 0.5899 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/0.4785, allocations: 2.874 MB / 0.5928 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.4802, allocations: 0.5573 MB / 0.5933 GB, free: 16.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.481, allocations: 306.3 kB / 0.5936 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.614e-05/0.4811, allocations: 91.27 kB / 0.5937 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4811, allocations: 38.5 kB / 0.5937 GB, free: 16.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.4811, allocations: 0 / 0.5937 GB, free: 16.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.01298/0.4941, allocations: 3.89 MB / 0.5975 GB, free: 12.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.4942, allocations: 55.41 kB / 0.5976 GB, free: 12.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.4947, allocations: 425.6 kB / 0.598 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.4947, allocations: 29.7 kB / 0.598 GB, free: 11.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4949, allocations: 244.2 kB / 0.5982 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/0.495, allocations: 126.2 kB / 0.5984 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.4951, allocations: 86.05 kB / 0.5984 GB, free: 11.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.4953, allocations: 350.8 kB / 0.5988 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009682/0.4962, allocations: 438.2 kB / 0.5992 GB, free: 10.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.4972, allocations: 0.5009 MB / 0.5997 GB, free: 9.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.4991, allocations: 0.9226 MB / 0.6006 GB, free: 8.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4991, allocations: 4 kB / 0.6006 GB, free: 8.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005073/0.5042, allocations: 1.837 MB / 0.6024 GB, free: 7.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5042, allocations: 4 kB / 0.6024 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5042, allocations: 4 kB / 0.6024 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.5079, allocations: 0.977 MB / 0.6033 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.5085, allocations: 131.7 kB / 0.6035 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00888/0.5174, allocations: 6.643 MB / 0.61 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009433/0.5184, allocations: 115.8 kB / 0.6101 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.5185, allocations: 19.98 kB / 0.6101 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001485/0.52, allocations: 0.6255 MB / 0.6107 GB, free: 14.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001133/0.5211, allocations: 492.6 kB / 0.6112 GB, free: 13.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002251/0.5234, allocations: 0.8977 MB / 0.612 GB, free: 12.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/0.5234, allocations: 4 kB / 0.612 GB, free: 12.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00524/0.5287, allocations: 1.61 MB / 0.6136 GB, free: 11.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5287, allocations: 8 kB / 0.6136 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5287, allocations: 4.172 kB / 0.6136 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/0.5318, allocations: 0.7116 MB / 0.6143 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/0.5325, allocations: 135.8 kB / 0.6145 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009195/0.5418, allocations: 5.807 MB / 0.6201 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.5429, allocations: 104 kB / 0.6202 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.5429, allocations: 27.98 kB / 0.6202 GB, free: 4.062 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.5433, allocations: 208.1 kB / 0.6204 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5434, allocations: 43.44 kB / 0.6205 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005639/0.549, allocations: 1.723 MB / 0.6222 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5491, allocations: 4 kB / 0.6222 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.5491, allocations: 4 kB / 0.6222 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5491, allocations: 3.984 kB / 0.6222 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/0.5557, allocations: 2.418 MB / 0.6245 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5557, allocations: 4.094 kB / 0.6245 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.5562, allocations: 75.84 kB / 0.6246 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003757/0.5599, allocations: 0.8872 MB / 0.6255 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.56, allocations: 11.94 kB / 0.6255 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009976/0.57, allocations: 6.314 MB / 0.6317 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.57, allocations: 7.969 kB / 0.6317 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.575, allocations: 1.684 MB / 0.6333 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.5754, allocations: 184.6 kB / 0.6335 GB, free: 6.059 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/0.5755, allocations: 8 kB / 0.6335 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.5761, allocations: 91.84 kB / 0.6336 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5763, allocations: 39.89 kB / 0.6336 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.5763, allocations: 8 kB / 0.6336 GB, free: 5.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004632/0.5768, allocations: 327.1 kB / 0.6339 GB, free: 5.598 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5768, allocations: 0 / 0.6339 GB, free: 5.598 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001008/0.5778, allocations: 260.5 kB / 0.6342 GB, free: 5.344 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.578, allocations: 115.5 kB / 0.6343 GB, free: 5.223 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006718/0.5847, allocations: 2.509 MB / 0.6368 GB, free: 2.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5848, allocations: 0 / 0.6368 GB, free: 2.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002564/0.5873, allocations: 0.9536 MB / 0.6377 GB, free: 1.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.5881, allocations: 131.6 kB / 0.6378 GB, free: 1.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.5905, allocations: 1.239 MB / 0.639 GB, free: 300 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.5912, allocations: 0.9568 MB / 0.64 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005988/0.5918, allocations: 155.2 kB / 0.6401 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.592, allocations: 39.41 kB / 0.6401 GB, free: 15.12 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.592, allocations: 0 / 0.6401 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Templates: time 0.02989/0.6219, allocations: 16.47 MB / 0.6562 GB, free: 14.8 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)