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.001204/0.001204, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 192.4 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9461/0.9461, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 61.84 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1757, allocations: 80.94 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.003291/0.179, allocations: 1.425 MB / 0.5858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.18, allocations: 381.2 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.18, allocations: 3.938 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.18, allocations: 3.938 kB / 0.5861 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.1801, allocations: 7.922 kB / 0.5861 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.1806, allocations: 115.7 kB / 0.5862 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.1807, allocations: 23.92 kB / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1808, allocations: 11.98 kB / 0.5863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.1808, allocations: 4 kB / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.1809, allocations: 15.92 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1809, allocations: 0 / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.1813, allocations: 275.7 kB / 0.5866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.1813, allocations: 11.92 kB / 0.5866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.1814, allocations: 11.94 kB / 0.5866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1816, allocations: 99.83 kB / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1816, allocations: 7.938 kB / 0.5867 GB, free: 2.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1816, allocations: 3.938 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1816, allocations: 0 / 0.5867 GB, free: 2.152 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005281/0.1822, allocations: 367.7 kB / 0.587 GB, free: 1.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1822, allocations: 8.031 kB / 0.5871 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.1823, allocations: 4.938 kB / 0.5871 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.1824, allocations: 164.3 kB / 0.5872 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-06/0.1825, allocations: 8.359 kB / 0.5872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1825, allocations: 4.375 kB / 0.5872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1827, allocations: 54.17 kB / 0.5873 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1827, allocations: 192 / 0.5873 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1827, allocations: 3.938 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1827, allocations: 0 / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1829, allocations: 35.95 kB / 0.5873 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1833, allocations: 253 kB / 0.5876 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1835, allocations: 38.5 kB / 0.5876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.1836, allocations: 20.91 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/0.1843, allocations: 469.4 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1844, allocations: 30.56 kB / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.1844, allocations: 0 / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004422/0.1848, allocations: 85.64 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1848, allocations: 51.41 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.1849, allocations: 105.8 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.185, allocations: 25.7 kB / 0.5883 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1851, allocations: 88.05 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1852, allocations: 7.938 kB / 0.5884 GB, free: 72 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1852, allocations: 9.719 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1854, allocations: 323 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.1855, allocations: 15.97 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.1856, allocations: 19.92 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.1859, allocations: 36.83 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1859, allocations: 0 / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000226/0.1861, allocations: 81.5 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1861, allocations: 8 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1861, allocations: 0 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1862, allocations: 256 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.1862, allocations: 7.984 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1863, allocations: 4 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.1863, allocations: 7.984 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1863, allocations: 8.031 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB 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 9.534e-05/0.1864, allocations: 117.7 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.1865, allocations: 0 / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.1867, allocations: 77.12 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1867, allocations: 0 / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1868, allocations: 4 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1868, allocations: 0 / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.187, allocations: 165.6 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.187, allocations: 0 / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.1871, allocations: 11.98 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1871, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1871, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1871, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1871, allocations: 0 / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1874, allocations: 175.3 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1874, allocations: 81.11 kB / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1874, allocations: 0 / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.1875, allocations: 7.984 kB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1876, allocations: 0 / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1876, allocations: 0 / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001516/0.1877, allocations: 83.28 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1877, allocations: 0 / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002441/0.188, allocations: 16.02 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB 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.0001814/0.1882, allocations: 111.2 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1884, allocations: 51.89 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1884, allocations: 0 / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.1885, allocations: 15.98 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1888, allocations: 8.062 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.1891, allocations: 117.4 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1895, allocations: 0.6807 MB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.1895, allocations: 4.172 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.1896, allocations: 7.438 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1896, allocations: 4 kB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.003036/0.1926, allocations: 0.7047 MB / 0.5913 GB, free: 12.95 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)