Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.001371/0.001371, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7104/0.7104, allocations: 115.3 MB / 406.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3339, allocations: 76.17 MB / 0.5564 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004495/0.3384, allocations: 3.101 MB / 0.5594 GB, free: 34.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.3414, allocations: 1.939 MB / 0.5613 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.3416, allocations: 7.062 kB / 0.5613 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.3426, allocations: 253.2 kB / 0.5615 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.3433, allocations: 189.6 kB / 0.5617 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007405/0.344, allocations: 212.6 kB / 0.5619 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.3446, allocations: 446.2 kB / 0.5623 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.345, allocations: 172.2 kB / 0.5625 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3452, allocations: 114.2 kB / 0.5626 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3455, allocations: 155.6 kB / 0.5628 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.3456, allocations: 12.47 kB / 0.5628 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.3464, allocations: 476.9 kB / 0.5632 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3466, allocations: 80.48 kB / 0.5633 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3467, allocations: 112.9 kB / 0.5634 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.3473, allocations: 380.1 kB / 0.5638 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3473, allocations: 1.406 kB / 0.5638 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3473, allocations: 0 / 0.5638 GB, free: 31.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3473, allocations: 0 / 0.5638 GB, free: 31.81 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009461/0.3483, allocations: 0.5598 MB / 0.5643 GB, free: 31.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3483, allocations: 14.53 kB / 0.5643 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.3492, allocations: 105.9 kB / 0.5644 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3495, allocations: 261.5 kB / 0.5647 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3496, allocations: 16.39 kB / 0.5647 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.3496, allocations: 21.97 kB / 0.5647 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.3502, allocations: 358.8 kB / 0.5651 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3502, allocations: 2.547 kB / 0.5651 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3503, allocations: 6.5 kB / 0.5651 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.3503, allocations: 26.8 kB / 0.5651 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.3508, allocations: 293.8 kB / 0.5654 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.3528, allocations: 1.733 MB / 0.5671 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.3533, allocations: 323.7 kB / 0.5674 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3535, allocations: 108.1 kB / 0.5675 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.3536, allocations: 91.23 kB / 0.5676 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3536, allocations: 38.61 kB / 0.5676 GB, free: 28.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.3536, allocations: 1 kB / 0.5676 GB, free: 28.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002611/0.3562, allocations: 0.9649 MB / 0.5686 GB, free: 28.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.3563, allocations: 85.19 kB / 0.5686 GB, free: 28.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3565, allocations: 216.7 kB / 0.5688 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3565, allocations: 27.45 kB / 0.5689 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.3566, allocations: 170.8 kB / 0.569 GB, free: 28.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.3567, allocations: 85.67 kB / 0.5691 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3568, allocations: 59.62 kB / 0.5692 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.3569, allocations: 331.3 kB / 0.5695 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3571, allocations: 131.7 kB / 0.5696 GB, free: 27.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.3574, allocations: 211.8 kB / 0.5698 GB, free: 27.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3578, allocations: 373.8 kB / 0.5702 GB, free: 27.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3578, allocations: 1.281 kB / 0.5702 GB, free: 27.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008748/0.3587, allocations: 0.512 MB / 0.5707 GB, free: 26.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3587, allocations: 5.688 kB / 0.5707 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3588, allocations: 3.5 kB / 0.5707 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.3593, allocations: 152.7 kB / 0.5708 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3596, allocations: 56.53 kB / 0.5709 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.3619, allocations: 3.97 MB / 0.5748 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3621, allocations: 18.67 kB / 0.5748 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3622, allocations: 10.8 kB / 0.5748 GB, free: 23.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.3623, allocations: 162.7 kB / 0.5749 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.3624, allocations: 23.73 kB / 0.575 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008773/0.3633, allocations: 472.3 kB / 0.5754 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3633, allocations: 3.562 kB / 0.5754 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3633, allocations: 1.906 kB / 0.5754 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3633, allocations: 1.5 kB / 0.5754 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.3648, allocations: 1.023 MB / 0.5764 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3649, allocations: 1.469 kB / 0.5764 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.365, allocations: 35.36 kB / 0.5765 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.3655, allocations: 145.6 kB / 0.5766 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3655, allocations: 13.34 kB / 0.5766 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.3675, allocations: 3.944 MB / 0.5805 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3676, allocations: 6.688 kB / 0.5805 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.3683, allocations: 0.6311 MB / 0.5811 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3684, allocations: 125.4 kB / 0.5812 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.3684, allocations: 12.42 kB / 0.5812 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.3687, allocations: 19.34 kB / 0.5812 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.3687, allocations: 22.11 kB / 0.5813 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3688, allocations: 11.28 kB / 0.5813 GB, free: 17.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.3689, allocations: 156.9 kB / 0.5814 GB, free: 17.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3689, allocations: 6.188 kB / 0.5814 GB, free: 17.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005959/0.3695, allocations: 91.16 kB / 0.5815 GB, free: 17.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.3697, allocations: 132.5 kB / 0.5816 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009085/0.3707, allocations: 0.5724 MB / 0.5822 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3707, allocations: 0.9688 kB / 0.5822 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.3711, allocations: 392.8 kB / 0.5826 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.3717, allocations: 43.73 kB / 0.5826 GB, free: 16.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3727, allocations: 0.7833 MB / 0.5834 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.373, allocations: 0.7769 MB / 0.5841 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.373, allocations: 27.66 kB / 0.5842 GB, free: 15.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3731, allocations: 0 / 0.5842 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Templates: time 0.01033/0.3834, allocations: 7.609 MB / 0.5916 GB, free: 12.93 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)