Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001055/0.001055, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.778/0.778, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.5067 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3333, allocations: 80.92 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002272/0.3356, allocations: 1.433 MB / 0.5872 GB, free: 24.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000593/0.3362, allocations: 381.8 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.3362, allocations: 0 / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.3363, allocations: 1.031 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.734e-05/0.3363, allocations: 12.94 kB / 0.5875 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.3367, allocations: 118.4 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.058e-05/0.3368, allocations: 25.77 kB / 0.5877 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.3369, allocations: 2.438 kB / 0.5877 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.3369, allocations: 8.25 kB / 0.5877 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.337, allocations: 14.98 kB / 0.5877 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.337, allocations: 3.531 kB / 0.5877 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.3373, allocations: 283.8 kB / 0.588 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3374, allocations: 5.688 kB / 0.588 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.3374, allocations: 10.62 kB / 0.588 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.3375, allocations: 99.17 kB / 0.5881 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3376, allocations: 5.938 kB / 0.5881 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3376, allocations: 0 / 0.5881 GB, free: 23.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3376, allocations: 5.688 kB / 0.5881 GB, free: 23.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003754/0.338, allocations: 361.7 kB / 0.5884 GB, free: 23.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.338, allocations: 10.02 kB / 0.5884 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3381, allocations: 8.844 kB / 0.5885 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.462e-05/0.3381, allocations: 169.5 kB / 0.5886 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3382, allocations: 5.656 kB / 0.5886 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3382, allocations: 6.484 kB / 0.5886 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3383, allocations: 49.95 kB / 0.5887 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3384, allocations: 192 / 0.5887 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3384, allocations: 6.594 kB / 0.5887 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3384, allocations: 0 / 0.5887 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3385, allocations: 32.5 kB / 0.5887 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.3388, allocations: 254.7 kB / 0.589 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3389, allocations: 41.47 kB / 0.589 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.339, allocations: 27.64 kB / 0.589 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005324/0.3395, allocations: 454.4 kB / 0.5895 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.3396, allocations: 37.25 kB / 0.5895 GB, free: 22.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.3396, allocations: 0 / 0.5895 GB, free: 22.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003201/0.3399, allocations: 87.55 kB / 0.5896 GB, free: 22.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.3399, allocations: 56.81 kB / 0.5896 GB, free: 22.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.34, allocations: 104.3 kB / 0.5897 GB, free: 22.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.34, allocations: 27.92 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.34, allocations: 81.89 kB / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.34, allocations: 4.406 kB / 0.5898 GB, free: 22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.3401, allocations: 16.91 kB / 0.5898 GB, free: 21.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.3401, allocations: 317.1 kB / 0.5902 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.3402, allocations: 19.3 kB / 0.5902 GB, free: 21.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.3403, allocations: 13.11 kB / 0.5902 GB, free: 21.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3404, allocations: 46.72 kB / 0.5902 GB, free: 21.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3404, allocations: 7.875 kB / 0.5902 GB, free: 21.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.3406, allocations: 72.02 kB / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3406, allocations: 5.094 kB / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3406, allocations: 0 / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3406, allocations: 4.234 kB / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.3407, allocations: 7.281 kB / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3407, allocations: 5.156 kB / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.3408, allocations: 8.828 kB / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3408, allocations: 0 / 0.5903 GB, free: 21.56 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.3408, allocations: 117.9 kB / 0.5904 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.3409, allocations: 4 kB / 0.5904 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.3411, allocations: 74.28 kB / 0.5905 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3411, allocations: 0 / 0.5905 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3411, allocations: 7.578 kB / 0.5905 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3411, allocations: 0 / 0.5905 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3412, allocations: 161.6 kB / 0.5907 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3412, allocations: 4 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.3413, allocations: 7.984 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3413, allocations: 0 / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.3413, allocations: 0 / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3413, allocations: 0 / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3413, allocations: 4 kB / 0.5907 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3415, allocations: 170.4 kB / 0.5909 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.3415, allocations: 77.11 kB / 0.5909 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.3415, allocations: 0 / 0.5909 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.3416, allocations: 9.234 kB / 0.5909 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.3416, allocations: 7.938 kB / 0.5909 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3416, allocations: 0 / 0.5909 GB, free: 20.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.343e-05/0.3417, allocations: 89.17 kB / 0.591 GB, free: 20.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3417, allocations: 0 / 0.591 GB, free: 20.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3419, allocations: 15.94 kB / 0.591 GB, free: 20.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.342, allocations: 104.1 kB / 0.5911 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.3422, allocations: 36.8 kB / 0.5912 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3422, allocations: 5.844 kB / 0.5912 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.3423, allocations: 15.98 kB / 0.5912 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.3426, allocations: 11.88 kB / 0.5912 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.3428, allocations: 111.5 kB / 0.5913 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.893e-05/0.3429, allocations: 0.6816 MB / 0.592 GB, free: 19.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.3429, allocations: 4.188 kB / 0.592 GB, free: 19.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.3429, allocations: 8.656 kB / 0.592 GB, free: 19.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3429, allocations: 3.938 kB / 0.592 GB, free: 19.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002581/0.3455, allocations: 0.7149 MB / 0.5927 GB, free: 19.02 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)