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.001113/0.001113, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001165/0.001165, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7434/0.7434, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 66.42 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 76.17 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006924/0.1565, allocations: 5.151 MB / 0.6378 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005434/0.162, allocations: 3.798 MB / 0.6415 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.1623, allocations: 11.94 kB / 0.6415 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.1641, allocations: 0.5717 MB / 0.642 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.1652, allocations: 489.6 kB / 0.6425 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.1659, allocations: 275.3 kB / 0.6428 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.167, allocations: 0.6853 MB / 0.6434 GB, free: 9.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006842/0.1677, allocations: 0.5329 MB / 0.644 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.1682, allocations: 371 kB / 0.6443 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.1687, allocations: 298.9 kB / 0.6446 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.1688, allocations: 44 kB / 0.6446 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005796/0.1694, allocations: 307.4 kB / 0.6449 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1696, allocations: 175.6 kB / 0.6451 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.1698, allocations: 250.7 kB / 0.6453 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009693/0.1708, allocations: 0.8453 MB / 0.6462 GB, free: 6.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1708, allocations: 0 / 0.6462 GB, free: 6.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1708, allocations: 0 / 0.6462 GB, free: 6.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1708, allocations: 0 / 0.6462 GB, free: 6.637 MB / 494.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.00147/0.1723, allocations: 0.8143 MB / 0.647 GB, free: 5.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1724, allocations: 12.03 kB / 0.647 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.1754, allocations: 0.6905 MB / 0.6476 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.1762, allocations: 484.3 kB / 0.6481 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1763, allocations: 21.03 kB / 0.6481 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.1763, allocations: 36.06 kB / 0.6482 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.178, allocations: 0.8279 MB / 0.649 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.178, allocations: 3.938 kB / 0.649 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.1781, allocations: 15.98 kB / 0.649 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.1783, allocations: 68.56 kB / 0.6491 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.1804, allocations: 0.9312 MB / 0.65 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/0.1844, allocations: 2.855 MB / 0.6527 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.1861, allocations: 0.5581 MB / 0.6533 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.1869, allocations: 308.6 kB / 0.6536 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.187, allocations: 89.11 kB / 0.6537 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1871, allocations: 34.55 kB / 0.6537 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.535e-06/0.1871, allocations: 0 / 0.6537 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.01476/0.2018, allocations: 3.876 MB / 0.6575 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.2019, allocations: 55.41 kB / 0.6575 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.2025, allocations: 429.5 kB / 0.658 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.2026, allocations: 33.7 kB / 0.658 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.2027, allocations: 236.2 kB / 0.6582 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.2029, allocations: 126.1 kB / 0.6583 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.2031, allocations: 86.11 kB / 0.6584 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2032, allocations: 362.7 kB / 0.6588 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.2043, allocations: 430.2 kB / 0.6592 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.2055, allocations: 0.497 MB / 0.6597 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.2077, allocations: 0.9265 MB / 0.6606 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2077, allocations: 0 / 0.6606 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005989/0.2137, allocations: 1.842 MB / 0.6624 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2138, allocations: 8 kB / 0.6624 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2138, allocations: 3.938 kB / 0.6624 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/0.2181, allocations: 0.9691 MB / 0.6633 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/0.2188, allocations: 127.8 kB / 0.6634 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.2296, allocations: 6.641 MB / 0.6699 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/0.2306, allocations: 111.8 kB / 0.67 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.2307, allocations: 23.92 kB / 0.6701 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001398/0.2321, allocations: 0.6217 MB / 0.6707 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/0.2333, allocations: 496.6 kB / 0.6711 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00207/0.2353, allocations: 0.8977 MB / 0.672 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.2354, allocations: 0 / 0.672 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.005041/0.2404, allocations: 1.618 MB / 0.6736 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2405, allocations: 5.438 kB / 0.6736 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2405, allocations: 8 kB / 0.6736 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.2434, allocations: 0.696 MB / 0.6743 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.2442, allocations: 135.8 kB / 0.6744 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007852/0.2521, allocations: 5.821 MB / 0.6801 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/0.253, allocations: 107.8 kB / 0.6802 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.2531, allocations: 15.98 kB / 0.6802 GB, free: 2.574 MB / 0.5137 GB 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.0002369/0.2533, allocations: 211.7 kB / 0.6804 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.2535, allocations: 35.53 kB / 0.6805 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005355/0.2588, allocations: 1.739 MB / 0.6821 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.2589, allocations: 4 kB / 0.6822 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2589, allocations: 3.938 kB / 0.6822 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2589, allocations: 0 / 0.6822 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/0.265, allocations: 2.414 MB / 0.6845 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.265, allocations: 4.094 kB / 0.6845 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.2654, allocations: 75.89 kB / 0.6846 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/0.2689, allocations: 0.8913 MB / 0.6855 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.269, allocations: 11.94 kB / 0.6855 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009399/0.2784, allocations: 6.322 MB / 0.6916 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2784, allocations: 7.875 kB / 0.6917 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.2835, allocations: 1.681 MB / 0.6933 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.2839, allocations: 184.6 kB / 0.6935 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.284, allocations: 4 kB / 0.6935 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000715/0.2847, allocations: 83.86 kB / 0.6936 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.2849, allocations: 47.88 kB / 0.6936 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.285, allocations: 8 kB / 0.6936 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004819/0.2855, allocations: 327.1 kB / 0.6939 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2855, allocations: 3.938 kB / 0.6939 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001132/0.2866, allocations: 264 kB / 0.6942 GB, free: 3.844 MB / 0.5294 GB 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.0002194/0.2869, allocations: 115.4 kB / 0.6943 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006594/0.2935, allocations: 2.45 MB / 0.6967 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.2935, allocations: 0 / 0.6967 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002564/0.2961, allocations: 0.9538 MB / 0.6976 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008417/0.2969, allocations: 127.8 kB / 0.6977 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.2995, allocations: 1.261 MB / 0.699 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/0.3002, allocations: 0.9412 MB / 0.6999 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.3004, allocations: 39.36 kB / 0.6999 GB, free: 13.81 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.3004, allocations: 4 kB / 0.6999 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Templates: time 0.01854/0.3189, allocations: 13.86 MB / 0.7135 GB, free: 15.97 MB / 0.5606 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)