Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001271/0.001271, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8301/0.8301, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3361, allocations: 80.91 MB / 0.5851 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001615/0.3378, allocations: 0.5726 MB / 0.5856 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005178/0.3383, allocations: 323.7 kB / 0.5859 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.3383, allocations: 0.8125 kB / 0.5859 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.698e-06/0.3383, allocations: 1.125 kB / 0.5859 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.3384, allocations: 0.6562 kB / 0.5859 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.3388, allocations: 108.1 kB / 0.586 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.912e-05/0.3388, allocations: 1.375 kB / 0.586 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.3388, allocations: 3.781 kB / 0.586 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.33e-05/0.3389, allocations: 1.281 kB / 0.586 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.3389, allocations: 7.984 kB / 0.586 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3389, allocations: 9.266 kB / 0.5861 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.3392, allocations: 269.8 kB / 0.5863 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.3393, allocations: 0 / 0.5863 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.238e-05/0.3393, allocations: 0 / 0.5863 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.3394, allocations: 85.02 kB / 0.5864 GB, free: 24.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3394, allocations: 0 / 0.5864 GB, free: 24.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3394, allocations: 0 / 0.5864 GB, free: 24.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3394, allocations: 2.156 kB / 0.5864 GB, free: 24.47 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002248/0.3397, allocations: 336.5 kB / 0.5867 GB, free: 24.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3397, allocations: 10.3 kB / 0.5867 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3398, allocations: 2.375 kB / 0.5867 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.854e-05/0.3398, allocations: 162.4 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.3398, allocations: 384 / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.3398, allocations: 1.438 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.692e-05/0.3399, allocations: 32.28 kB / 0.5869 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3399, allocations: 1.625 kB / 0.5869 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.34, allocations: 3.938 kB / 0.5869 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.34, allocations: 1.094 kB / 0.5869 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.34, allocations: 9.031 kB / 0.5869 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.537e-05/0.3401, allocations: 148.2 kB / 0.5871 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.932e-05/0.3401, allocations: 19.98 kB / 0.5871 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.3401, allocations: 7.047 kB / 0.5871 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.3405, allocations: 431.1 kB / 0.5875 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.3405, allocations: 35.33 kB / 0.5875 GB, free: 23.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3405, allocations: 1.406 kB / 0.5875 GB, free: 23.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.3407, allocations: 38.55 kB / 0.5876 GB, free: 23.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.3407, allocations: 53.19 kB / 0.5876 GB, free: 23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.75e-05/0.3407, allocations: 91.3 kB / 0.5877 GB, free: 22.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.3407, allocations: 25.7 kB / 0.5877 GB, free: 22.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.327e-06/0.3407, allocations: 81.23 kB / 0.5878 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3408, allocations: 7.906 kB / 0.5878 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.3408, allocations: 13.75 kB / 0.5878 GB, free: 22.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.3408, allocations: 310.8 kB / 0.5881 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.3409, allocations: 6.797 kB / 0.5881 GB, free: 22.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/0.3409, allocations: 1.062 kB / 0.5881 GB, free: 22.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.3409, allocations: 8.141 kB / 0.5882 GB, free: 22.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3409, allocations: 5.562 kB / 0.5882 GB, free: 22.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.545e-05/0.341, allocations: 35.86 kB / 0.5882 GB, free: 22.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.341, allocations: 7.062 kB / 0.5882 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.341, allocations: 0.6562 kB / 0.5882 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.341, allocations: 3.938 kB / 0.5882 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.769e-05/0.3411, allocations: 7.531 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.3411, allocations: 0 / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-06/0.3411, allocations: 0.9688 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3411, allocations: 5.297 kB / 0.5882 GB, free: 22.39 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 (1): * Single equations (assignments): 1 * 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 3.627e-05/0.3411, allocations: 108.9 kB / 0.5883 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.3412, allocations: 1.219 kB / 0.5883 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.3412, allocations: 41.64 kB / 0.5884 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3412, allocations: 1.375 kB / 0.5884 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3412, allocations: 1.25 kB / 0.5884 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3413, allocations: 0 / 0.5884 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.723e-05/0.3413, allocations: 150.9 kB / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3413, allocations: 2.719 kB / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.3413, allocations: 1.25 kB / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3413, allocations: 0 / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3414, allocations: 5.312 kB / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3414, allocations: 5.094 kB / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3414, allocations: 0 / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.274e-05/0.3414, allocations: 61.34 kB / 0.5886 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.3415, allocations: 83.2 kB / 0.5887 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.3415, allocations: 10.91 kB / 0.5887 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-06/0.3415, allocations: 3.938 kB / 0.5887 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.3415, allocations: 1.219 kB / 0.5887 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3415, allocations: 1.5 kB / 0.5887 GB, free: 21.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.282e-05/0.3415, allocations: 75.91 kB / 0.5888 GB, free: 21.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3415, allocations: 1.625 kB / 0.5888 GB, free: 21.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.3418, allocations: 12.05 kB / 0.5888 GB, free: 21.78 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 (1): * Single equations (assignments): 1 * 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.0001478/0.3419, allocations: 109.8 kB / 0.5889 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.342, allocations: 10.12 kB / 0.5889 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.342, allocations: 1.062 kB / 0.5889 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-06/0.342, allocations: 1.312 kB / 0.5889 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.3422, allocations: 1.656 kB / 0.5889 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001461/0.3423, allocations: 110 kB / 0.589 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.01e-05/0.3424, allocations: 0.6739 MB / 0.5896 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.868e-06/0.3424, allocations: 8.531 kB / 0.5897 GB, free: 20.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3424, allocations: 0 / 0.5897 GB, free: 20.85 MB / 446.1 MB Notification: Performance of Templates: time 0.001744/0.3442, allocations: 463.9 kB / 0.5901 GB, free: 20.65 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)