Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00248/0.002486, allocations: 356.5 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.612/1.612, allocations: 165.8 MB / 183.1 MB, free: 5.434 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.978/3.978, allocations: 410.7 MB / 0.6001 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 202.5 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.000478, allocations: 19.98 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4007, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001538/0.4023, allocations: 1.146 MB / 0.8099 GB, free: 27.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.403, allocations: 355.1 kB / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.4031, allocations: 4 kB / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.4031, allocations: 0 / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.4032, allocations: 7.922 kB / 0.8102 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.4036, allocations: 71.8 kB / 0.8103 GB, free: 27.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.4036, allocations: 23.91 kB / 0.8103 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.4037, allocations: 8 kB / 0.8103 GB, free: 27.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.4037, allocations: 7.938 kB / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.645e-05/0.4038, allocations: 7.984 kB / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.4038, allocations: 4 kB / 0.8103 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.4043, allocations: 263.7 kB / 0.8106 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.4043, allocations: 3.938 kB / 0.8106 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.4043, allocations: 29.7 kB / 0.8106 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.4045, allocations: 67.88 kB / 0.8107 GB, free: 26.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4045, allocations: 4 kB / 0.8107 GB, free: 26.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4045, allocations: 0 / 0.8107 GB, free: 26.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.4045, allocations: 3.938 kB / 0.8107 GB, free: 26.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004325/0.405, allocations: 365.3 kB / 0.811 GB, free: 26.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.405, allocations: 8.031 kB / 0.811 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.4051, allocations: 4 kB / 0.811 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.228e-05/0.4052, allocations: 163 kB / 0.8112 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4052, allocations: 4 kB / 0.8112 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4052, allocations: 4 kB / 0.8112 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.4054, allocations: 57.67 kB / 0.8113 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4055, allocations: 0 / 0.8113 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4055, allocations: 7.891 kB / 0.8113 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.4055, allocations: 0 / 0.8113 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.4058, allocations: 47.95 kB / 0.8113 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.4061, allocations: 256.9 kB / 0.8116 GB, free: 25.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.4063, allocations: 42.55 kB / 0.8116 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.4065, allocations: 32.91 kB / 0.8116 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/0.4073, allocations: 461.5 kB / 0.8121 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.4073, allocations: 42.45 kB / 0.8121 GB, free: 25.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4073, allocations: 0 / 0.8121 GB, free: 25.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005794/0.4079, allocations: 101.7 kB / 0.8122 GB, free: 24.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.408, allocations: 51.41 kB / 0.8123 GB, free: 24.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.4081, allocations: 105.8 kB / 0.8124 GB, free: 24.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.4081, allocations: 25.7 kB / 0.8124 GB, free: 24.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.4082, allocations: 89.25 kB / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.4082, allocations: 3.906 kB / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4082, allocations: 0 / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4083, allocations: 314.8 kB / 0.8128 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4085, allocations: 24.02 kB / 0.8128 GB, free: 24.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.4087, allocations: 27.97 kB / 0.8128 GB, free: 24.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.4088, allocations: 23.98 kB / 0.8128 GB, free: 24.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4088, allocations: 4 kB / 0.8128 GB, free: 24.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003382/0.4092, allocations: 69.67 kB / 0.8129 GB, free: 24.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4092, allocations: 11.92 kB / 0.8129 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4092, allocations: 3.953 kB / 0.8129 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4092, allocations: 4.031 kB / 0.8129 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4094, allocations: 16 kB / 0.8129 GB, free: 24.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4094, allocations: 3.984 kB / 0.8129 GB, free: 24.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.4095, allocations: 7.984 kB / 0.813 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.4095, allocations: 0 / 0.813 GB, free: 24.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.4096, allocations: 109.8 kB / 0.8131 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.4096, allocations: 7.891 kB / 0.8131 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.41, allocations: 97.11 kB / 0.8132 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.41, allocations: 3.953 kB / 0.8132 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.41, allocations: 0 / 0.8132 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.41, allocations: 77.11 kB / 0.8132 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.41, allocations: 4.031 kB / 0.8132 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4102, allocations: 11.98 kB / 0.8133 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.4102, allocations: 0 / 0.8133 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003929/0.4106, allocations: 160.9 kB / 0.8134 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003619/0.411, allocations: 258.7 kB / 0.8137 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001539/0.4112, allocations: 23.97 kB / 0.8137 GB, free: 23.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.085e-05/0.4112, allocations: 87.53 kB / 0.8138 GB, free: 23.28 MB / 378.7 MB Notification: Performance of Backend: time 6.01e-07/0.4112, allocations: 0 / 0.8138 GB, free: 23.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006412/0.4119, allocations: 149.1 kB / 0.8139 GB, free: 23.13 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003634/0.4123, allocations: 0.5564 MB / 0.8144 GB, free: 22.52 MB / 378.7 MB Notification: Performance of Templates: time 0.004295/0.4166, allocations: 1.29 MB / 0.8157 GB, free: 21.23 MB / 378.7 MB