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.001098/0.001098, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001292/0.001292, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.48 kB / 0.5049 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1832, allocations: 80.93 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002022/0.1853, allocations: 0.6349 MB / 0.5845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.186, allocations: 328.6 kB / 0.5848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.186, allocations: 0 / 0.5848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.186, allocations: 0 / 0.5848 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.1861, allocations: 4 kB / 0.5848 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.1865, allocations: 91.84 kB / 0.5849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.885e-05/0.1866, allocations: 4 kB / 0.5849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.1866, allocations: 0 / 0.5849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.1866, allocations: 0 / 0.5849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.1867, allocations: 3.938 kB / 0.5849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1867, allocations: 0 / 0.5849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.1871, allocations: 275.7 kB / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1871, allocations: 3.984 kB / 0.5852 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.1871, allocations: 3.984 kB / 0.5852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1873, allocations: 83.88 kB / 0.5853 GB, free: 3.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1873, allocations: 0 / 0.5853 GB, free: 3.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.825e-06/0.1873, allocations: 3.984 kB / 0.5853 GB, free: 3.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1873, allocations: 0 / 0.5853 GB, free: 3.484 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.0003042/0.1877, allocations: 327.6 kB / 0.5856 GB, free: 3.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1877, allocations: 12.03 kB / 0.5856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.1878, allocations: 0.9375 kB / 0.5856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1879, allocations: 164.4 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1879, allocations: 4.312 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.188, allocations: 4.375 kB / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1881, allocations: 34.27 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1881, allocations: 192 / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1881, allocations: 3.938 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1881, allocations: 0 / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.1881, allocations: 4 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.1883, allocations: 145.7 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.1883, allocations: 18.52 kB / 0.586 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.1884, allocations: 20.89 kB / 0.586 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/0.1889, allocations: 417.5 kB / 0.5864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.189, allocations: 34.56 kB / 0.5864 GB, free: 2.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.189, allocations: 0 / 0.5864 GB, free: 2.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001608/0.1892, allocations: 41.64 kB / 0.5865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1892, allocations: 59.33 kB / 0.5865 GB, free: 1.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.647e-05/0.1892, allocations: 89.86 kB / 0.5866 GB, free: 1.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1893, allocations: 25.7 kB / 0.5866 GB, free: 1.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.1893, allocations: 80.14 kB / 0.5867 GB, free: 1.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.1893, allocations: 7.906 kB / 0.5867 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.1894, allocations: 9.719 kB / 0.5867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1895, allocations: 318.8 kB / 0.587 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.1895, allocations: 8.125 kB / 0.587 GB, free: 1.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.1895, allocations: 0 / 0.587 GB, free: 1.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.1896, allocations: 8.859 kB / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1896, allocations: 0 / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.829e-05/0.1897, allocations: 33.69 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1897, allocations: 4 kB / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1897, allocations: 0 / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1897, allocations: 7.938 kB / 0.5871 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.1898, allocations: 4.094 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1898, allocations: 0 / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-06/0.1898, allocations: 3.938 kB / 0.5871 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1898, allocations: 0 / 0.5871 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 7.122e-05/0.1899, allocations: 113.8 kB / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.1899, allocations: 0 / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.19, allocations: 40.75 kB / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.19, allocations: 0 / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.19, allocations: 4.031 kB / 0.5872 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.19, allocations: 4 kB / 0.5872 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.137e-05/0.1901, allocations: 145.7 kB / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1901, allocations: 3.984 kB / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.1902, allocations: 0 / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1902, allocations: 0 / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1902, allocations: 11.88 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1902, allocations: 0 / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1902, allocations: 0 / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.395e-05/0.1903, allocations: 61.08 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.1903, allocations: 85.38 kB / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1903, allocations: 3.938 kB / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.1903, allocations: 0 / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.1904, allocations: 0 / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1904, allocations: 0 / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.67e-05/0.1904, allocations: 75.28 kB / 0.5876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1904, allocations: 0 / 0.5876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.1906, allocations: 20 kB / 0.5876 GB, free: 0.6523 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.0001883/0.1908, allocations: 111.3 kB / 0.5877 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.1909, allocations: 11.88 kB / 0.5878 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1909, allocations: 0 / 0.5878 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/0.1909, allocations: 4 kB / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.191, allocations: 6.125 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.1912, allocations: 80.94 kB / 0.5878 GB, free: 416 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1915, allocations: 0.6808 MB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.563e-05/0.1915, allocations: 0 / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.1915, allocations: 7.438 kB / 0.5885 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1915, allocations: 0 / 0.5885 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.002321/0.1939, allocations: 451.9 kB / 0.5889 GB, free: 15.25 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)