Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 110.8 kB / 17.04 MB, free: 5.355 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.001254/0.001254, allocations: 196.8 kB / 17.98 MB, free: 4.895 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.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6801/0.6801, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3448, allocations: 76.14 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004581/0.3495, allocations: 4.081 MB / 0.5616 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.3515, allocations: 1.585 MB / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3517, allocations: 12.66 kB / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.353, allocations: 0.5851 MB / 0.5637 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.3535, allocations: 232.6 kB / 0.5639 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.3539, allocations: 218.8 kB / 0.5641 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.3544, allocations: 0.5468 MB / 0.5646 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006073/0.3551, allocations: 476.8 kB / 0.5651 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.3553, allocations: 233.7 kB / 0.5653 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.3557, allocations: 250.4 kB / 0.5656 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.3558, allocations: 38.78 kB / 0.5656 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.3561, allocations: 163.3 kB / 0.5658 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.3563, allocations: 147.9 kB / 0.5659 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.3565, allocations: 196.4 kB / 0.5661 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.3572, allocations: 0.5238 MB / 0.5666 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3572, allocations: 0.5156 kB / 0.5666 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3572, allocations: 0 / 0.5666 GB, free: 31.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3572, allocations: 0 / 0.5666 GB, free: 31.35 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0012/0.3584, allocations: 0.6764 MB / 0.5673 GB, free: 30.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3585, allocations: 9.594 kB / 0.5673 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/0.3592, allocations: 107.2 kB / 0.5674 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.3596, allocations: 311.4 kB / 0.5677 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.3597, allocations: 52.28 kB / 0.5677 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.3598, allocations: 38.7 kB / 0.5678 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.3605, allocations: 0.501 MB / 0.5682 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3605, allocations: 5.969 kB / 0.5682 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.3606, allocations: 11.75 kB / 0.5683 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.3606, allocations: 34.45 kB / 0.5683 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/0.3613, allocations: 374.8 kB / 0.5687 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.3637, allocations: 2.203 MB / 0.5708 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.3644, allocations: 258.6 kB / 0.571 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.3648, allocations: 152.6 kB / 0.5712 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.3648, allocations: 8.172 kB / 0.5712 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3648, allocations: 33.72 kB / 0.5712 GB, free: 28.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.3648, allocations: 0 / 0.5712 GB, free: 28.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001332/0.3662, allocations: 0.5716 MB / 0.5718 GB, free: 27.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.3662, allocations: 53.81 kB / 0.5718 GB, free: 27.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3664, allocations: 230.9 kB / 0.5721 GB, free: 27.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3664, allocations: 27.8 kB / 0.5721 GB, free: 27.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.3665, allocations: 214.2 kB / 0.5723 GB, free: 27.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.3666, allocations: 62.86 kB / 0.5724 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.3667, allocations: 59.47 kB / 0.5724 GB, free: 27.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.3667, allocations: 331.1 kB / 0.5727 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.367, allocations: 93.77 kB / 0.5728 GB, free: 26.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3672, allocations: 183 kB / 0.573 GB, free: 26.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.3676, allocations: 287.4 kB / 0.5733 GB, free: 26.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3676, allocations: 1 kB / 0.5733 GB, free: 26.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007735/0.3684, allocations: 373.9 kB / 0.5736 GB, free: 26.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3684, allocations: 6.438 kB / 0.5736 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3685, allocations: 3.094 kB / 0.5736 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/0.3689, allocations: 108.4 kB / 0.5737 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.3691, allocations: 53.58 kB / 0.5738 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.3715, allocations: 3.059 MB / 0.5768 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.3717, allocations: 31.83 kB / 0.5768 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3718, allocations: 12.25 kB / 0.5768 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000271/0.372, allocations: 217 kB / 0.577 GB, free: 23.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002059/0.3722, allocations: 186.1 kB / 0.5772 GB, free: 23.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003878/0.3726, allocations: 266.7 kB / 0.5775 GB, free: 23.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.3727, allocations: 1.281 kB / 0.5775 GB, free: 23.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0006626/0.3733, allocations: 348.3 kB / 0.5778 GB, free: 22.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.3733, allocations: 10.84 kB / 0.5778 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3734, allocations: 7.219 kB / 0.5778 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.3736, allocations: 83.48 kB / 0.5779 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.3738, allocations: 56.67 kB / 0.5779 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3753, allocations: 1.611 MB / 0.5795 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3756, allocations: 32.25 kB / 0.5795 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3756, allocations: 12.91 kB / 0.5796 GB, free: 21.37 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 (27): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.384e-05/0.3757, allocations: 198.2 kB / 0.5797 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.3757, allocations: 22.52 kB / 0.5798 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.3758, allocations: 30.12 kB / 0.5798 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3758, allocations: 2.969 kB / 0.5798 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3758, allocations: 0.7031 kB / 0.5798 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3758, allocations: 4.5 kB / 0.5798 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.377, allocations: 0.8362 MB / 0.5806 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3771, allocations: 1.922 kB / 0.5806 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3772, allocations: 32.53 kB / 0.5807 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.3776, allocations: 103.9 kB / 0.5807 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3776, allocations: 10.8 kB / 0.5808 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.3797, allocations: 3.016 MB / 0.5837 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3797, allocations: 5.812 kB / 0.5837 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.3804, allocations: 413.3 kB / 0.5841 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3805, allocations: 124 kB / 0.5842 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3806, allocations: 6.969 kB / 0.5842 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3807, allocations: 11.88 kB / 0.5842 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.3808, allocations: 19.98 kB / 0.5843 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3808, allocations: 4.188 kB / 0.5843 GB, free: 17.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.381, allocations: 162.9 kB / 0.5844 GB, free: 17.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.381, allocations: 0 / 0.5844 GB, free: 17.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005677/0.3815, allocations: 173.7 kB / 0.5846 GB, free: 17.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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): 0 systems * 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 8.101e-05/0.3816, allocations: 107.2 kB / 0.5847 GB, free: 17.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.3833, allocations: 0.7537 MB / 0.5854 GB, free: 16.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3833, allocations: 3.938 kB / 0.5854 GB, free: 16.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007142/0.384, allocations: 372.5 kB / 0.5858 GB, free: 16.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.3844, allocations: 66.17 kB / 0.5858 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/0.3854, allocations: 0.5738 MB / 0.5864 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3856, allocations: 0.8102 MB / 0.5872 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3858, allocations: 56.03 kB / 0.5873 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.3858, allocations: 19.41 kB / 0.5873 GB, free: 15.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3858, allocations: 0 / 0.5873 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Templates: time 0.008005/0.3938, allocations: 4.668 MB / 0.5918 GB, free: 13.77 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)