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.001158/0.001158, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001218/0.001218, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9489/0.9489, allocations: 135.1 MB / 425.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 61.34 kB / 0.5055 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1568, allocations: 80.94 MB / 0.5845 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00193/0.1587, allocations: 0.6232 MB / 0.5852 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.1594, allocations: 332.5 kB / 0.5855 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.339e-05/0.1594, allocations: 0 / 0.5855 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.1595, allocations: 0 / 0.5855 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.1595, allocations: 0 / 0.5855 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.16, allocations: 95.84 kB / 0.5856 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.1601, allocations: 0 / 0.5856 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.1601, allocations: 0 / 0.5856 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.1601, allocations: 3.938 kB / 0.5856 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.119e-05/0.1602, allocations: 4 kB / 0.5856 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1602, allocations: 0 / 0.5856 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.1606, allocations: 275.6 kB / 0.5858 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1606, allocations: 0 / 0.5858 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.1606, allocations: 7.984 kB / 0.5858 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1608, allocations: 55.91 kB / 0.5859 GB, free: 3.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1608, allocations: 0 / 0.5859 GB, free: 3.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1608, allocations: 0 / 0.5859 GB, free: 3.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1608, allocations: 4 kB / 0.5859 GB, free: 3.492 MB / 494.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.0003545/0.1611, allocations: 327.6 kB / 0.5862 GB, free: 3.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1612, allocations: 11.97 kB / 0.5862 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.1613, allocations: 0.9375 kB / 0.5862 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.1614, allocations: 160.4 kB / 0.5864 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1614, allocations: 384 / 0.5864 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.1614, allocations: 8.375 kB / 0.5864 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.127e-05/0.1615, allocations: 30.25 kB / 0.5864 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.1615, allocations: 192 / 0.5864 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1615, allocations: 7.938 kB / 0.5864 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1615, allocations: 0 / 0.5864 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.1615, allocations: 8 kB / 0.5864 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.1617, allocations: 141.7 kB / 0.5866 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.1617, allocations: 22.45 kB / 0.5866 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.1618, allocations: 12.95 kB / 0.5866 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005184/0.1623, allocations: 429.5 kB / 0.587 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1623, allocations: 30.56 kB / 0.587 GB, free: 2.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1623, allocations: 0 / 0.587 GB, free: 2.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.1625, allocations: 41.64 kB / 0.5871 GB, free: 2.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1625, allocations: 55.34 kB / 0.5871 GB, free: 1.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.438e-05/0.1626, allocations: 89.86 kB / 0.5872 GB, free: 1.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1626, allocations: 29.7 kB / 0.5872 GB, free: 1.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.1626, allocations: 80.14 kB / 0.5873 GB, free: 1.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.1627, allocations: 3.906 kB / 0.5873 GB, free: 1.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.1627, allocations: 9.719 kB / 0.5873 GB, free: 1.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1628, allocations: 314.8 kB / 0.5876 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-06/0.1628, allocations: 12.06 kB / 0.5876 GB, free: 1.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.1628, allocations: 4 kB / 0.5876 GB, free: 1.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.1629, allocations: 8.859 kB / 0.5877 GB, free: 1.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1629, allocations: 0 / 0.5877 GB, free: 1.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.964e-05/0.163, allocations: 33.69 kB / 0.5877 GB, free: 1.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.163, allocations: 4 kB / 0.5877 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.163, allocations: 7.938 kB / 0.5877 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.163, allocations: 3.938 kB / 0.5877 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.888e-05/0.163, allocations: 0 / 0.5877 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1631, allocations: 8.078 kB / 0.5877 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/0.1631, allocations: 0 / 0.5877 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1631, allocations: 4 kB / 0.5877 GB, free: 1.312 MB / 494.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 5.932e-05/0.1632, allocations: 105.8 kB / 0.5878 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1632, allocations: 0 / 0.5878 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.1633, allocations: 40.77 kB / 0.5879 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1633, allocations: 0 / 0.5879 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1633, allocations: 12.02 kB / 0.5879 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1633, allocations: 0 / 0.5879 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.125e-05/0.1634, allocations: 141.7 kB / 0.588 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1634, allocations: 0 / 0.588 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.1634, allocations: 4 kB / 0.588 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1634, allocations: 3.938 kB / 0.588 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.1634, allocations: 7.875 kB / 0.588 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1634, allocations: 0 / 0.588 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1635, allocations: 0 / 0.588 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.1635, allocations: 65.12 kB / 0.5881 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1636, allocations: 77.39 kB / 0.5882 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1636, allocations: 7.938 kB / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-06/0.1636, allocations: 0 / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.1636, allocations: 0 / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1636, allocations: 0 / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.37e-05/0.1637, allocations: 75.28 kB / 0.5882 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1637, allocations: 4 kB / 0.5882 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.1639, allocations: 15.98 kB / 0.5883 GB, free: 0.6602 MB / 494.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.0001803/0.1641, allocations: 111.3 kB / 0.5884 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.1641, allocations: 7.938 kB / 0.5884 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1642, allocations: 0 / 0.5884 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/0.1642, allocations: 4 kB / 0.5884 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.1643, allocations: 3.938 kB / 0.5884 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001879/0.1645, allocations: 110.6 kB / 0.5885 GB, free: 392 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1648, allocations: 0.673 MB / 0.5891 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.1648, allocations: 15.38 kB / 0.5892 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1648, allocations: 0 / 0.5892 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.001811/0.1666, allocations: 466.9 kB / 0.5896 GB, free: 15.21 MB / 0.4981 GB 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)