Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001423, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00168/0.00168, allocations: 192 kB / 16.25 MB, free: 6.637 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9827/0.9827, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 68.34 kB / 0.5049 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.182, allocations: 80.93 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001674/0.1837, allocations: 0.6348 MB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.1839, allocations: 43.86 kB / 0.5846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-06/0.1839, allocations: 4 kB / 0.5846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.1839, allocations: 0 / 0.5846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.1839, allocations: 0 / 0.5846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1841, allocations: 15.92 kB / 0.5846 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.155e-05/0.1842, allocations: 0 / 0.5846 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.1842, allocations: 4 kB / 0.5846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.213e-05/0.1842, allocations: 0 / 0.5846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.886e-05/0.1843, allocations: 0 / 0.5846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.1843, allocations: 0 / 0.5846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.1844, allocations: 27.97 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1844, allocations: 7.922 kB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.1844, allocations: 3.938 kB / 0.5846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.818e-05/0.1845, allocations: 11.98 kB / 0.5846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1845, allocations: 4 kB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1845, allocations: 0 / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1845, allocations: 0 / 0.5846 GB, free: 4.117 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.0002361/0.1847, allocations: 315.6 kB / 0.5849 GB, free: 3.758 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1848, allocations: 8.031 kB / 0.585 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.185, allocations: 20.91 kB / 0.585 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/0.1851, allocations: 160.4 kB / 0.5851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1851, allocations: 8.375 kB / 0.5851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1851, allocations: 4.375 kB / 0.5851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1852, allocations: 34.25 kB / 0.5852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1853, allocations: 192 / 0.5852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1853, allocations: 3.938 kB / 0.5852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1853, allocations: 0 / 0.5852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.1854, allocations: 15.92 kB / 0.5852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.1855, allocations: 149.7 kB / 0.5853 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.788e-05/0.1856, allocations: 22.61 kB / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.1856, allocations: 8.844 kB / 0.5854 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1856, allocations: 4.062 kB / 0.5854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1857, allocations: 34.56 kB / 0.5854 GB, free: 3.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1857, allocations: 0 / 0.5854 GB, free: 3.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002124/0.1859, allocations: 53.55 kB / 0.5854 GB, free: 3.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.1859, allocations: 51.41 kB / 0.5855 GB, free: 3.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.919e-05/0.186, allocations: 89.86 kB / 0.5856 GB, free: 2.961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.186, allocations: 25.7 kB / 0.5856 GB, free: 2.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.186, allocations: 84.27 kB / 0.5857 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.186, allocations: 7.906 kB / 0.5857 GB, free: 2.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.1861, allocations: 21.66 kB / 0.5857 GB, free: 2.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.1862, allocations: 310.8 kB / 0.586 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.1862, allocations: 7.984 kB / 0.586 GB, free: 2.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.1863, allocations: 0 / 0.586 GB, free: 2.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.1864, allocations: 20.91 kB / 0.586 GB, free: 2.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1864, allocations: 0 / 0.586 GB, free: 2.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000113/0.1865, allocations: 49.61 kB / 0.5861 GB, free: 2.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1865, allocations: 8 kB / 0.5861 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1865, allocations: 0 / 0.5861 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1865, allocations: 3.938 kB / 0.5861 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.1866, allocations: 4 kB / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1866, allocations: 0 / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.1866, allocations: 0 / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1867, allocations: 11.95 kB / 0.5861 GB, free: 2.383 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 6.283e-05/0.1867, allocations: 109.8 kB / 0.5862 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.1867, allocations: 0 / 0.5862 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.1868, allocations: 7.062 kB / 0.5862 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1868, allocations: 3.984 kB / 0.5862 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1868, allocations: 0 / 0.5862 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1868, allocations: 0 / 0.5862 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.1869, allocations: 149.7 kB / 0.5864 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1869, allocations: 4 kB / 0.5864 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.1869, allocations: 0 / 0.5864 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1869, allocations: 0 / 0.5864 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1869, allocations: 7.938 kB / 0.5864 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1869, allocations: 0 / 0.5864 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1869, allocations: 3.938 kB / 0.5864 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1871, allocations: 65.11 kB / 0.5865 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.1871, allocations: 81.14 kB / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1871, allocations: 11.94 kB / 0.5865 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.1872, allocations: 0 / 0.5865 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.1872, allocations: 0 / 0.5865 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1872, allocations: 3.984 kB / 0.5865 GB, free: 1.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.1872, allocations: 75.28 kB / 0.5866 GB, free: 1.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1872, allocations: 4 kB / 0.5866 GB, free: 1.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001709/0.1874, allocations: 4 kB / 0.5866 GB, free: 1.766 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.0001159/0.1875, allocations: 103.2 kB / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1877, allocations: 15.92 kB / 0.5867 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1877, allocations: 0 / 0.5867 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.1877, allocations: 4 kB / 0.5867 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1879, allocations: 6.797 kB / 0.5867 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002035/0.1881, allocations: 94.7 kB / 0.5868 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1883, allocations: 0.669 MB / 0.5875 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.1883, allocations: 0 / 0.5875 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.1884, allocations: 7.438 kB / 0.5875 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1884, allocations: 4 kB / 0.5875 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of Templates: time 0.001695/0.1901, allocations: 224.8 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)