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.0009098/0.0009092, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009725/0.0009725, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9804/0.9804, allocations: 135.3 MB / 426.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003806, allocations: 9.062 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1825, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.00179/0.1843, allocations: 1.144 MB / 0.5885 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.1851, allocations: 365.7 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1852, allocations: 3.938 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.1852, allocations: 0 / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.1853, allocations: 7.938 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.1857, allocations: 71.84 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.1858, allocations: 23.92 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.1858, allocations: 4 kB / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.1859, allocations: 7.938 kB / 0.589 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.1859, allocations: 11.98 kB / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.186, allocations: 0 / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.1864, allocations: 267.7 kB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.1864, allocations: 3.938 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.1864, allocations: 29.7 kB / 0.5893 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1866, allocations: 71.86 kB / 0.5893 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1866, allocations: 4 kB / 0.5893 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1866, allocations: 0 / 0.5893 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1866, allocations: 3.938 kB / 0.5893 GB, free: 0.9766 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.0005162/0.1871, allocations: 367.5 kB / 0.5897 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1872, allocations: 8.031 kB / 0.5897 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.1873, allocations: 0 / 0.5897 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1874, allocations: 167 kB / 0.5898 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1874, allocations: 4 kB / 0.5898 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.1875, allocations: 0 / 0.5898 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1876, allocations: 57.61 kB / 0.5899 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1877, allocations: 4 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1877, allocations: 4 kB / 0.5899 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1877, allocations: 0 / 0.5899 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.1879, allocations: 43.95 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1882, allocations: 252.8 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1884, allocations: 50.53 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.1885, allocations: 28.91 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.1891, allocations: 461.5 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1892, allocations: 34.56 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1892, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000388/0.1896, allocations: 97.64 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.1896, allocations: 55.41 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.1898, allocations: 106 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1898, allocations: 25.7 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.1899, allocations: 84.12 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1899, allocations: 11.84 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1899, allocations: 0 / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.19, allocations: 322.7 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.1901, allocations: 23.98 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.1902, allocations: 27.91 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.1903, allocations: 23.98 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1903, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000247/0.1906, allocations: 73.73 kB / 0.5916 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1906, allocations: 11.94 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1906, allocations: 3.984 kB / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1906, allocations: 0 / 0.5916 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.1907, allocations: 8 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1907, allocations: 4.031 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1908, allocations: 11.98 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1908, allocations: 0 / 0.5916 GB, free: 14.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/0.1909, allocations: 113.8 kB / 0.5917 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.1909, allocations: 11.84 kB / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1912, allocations: 85.17 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1912, allocations: 0 / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1912, allocations: 0 / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1912, allocations: 0 / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1914, allocations: 165.6 kB / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1914, allocations: 4.234 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.1915, allocations: 16.02 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1915, allocations: 4 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1915, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1915, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1915, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.1918, allocations: 183.4 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.1919, allocations: 81.02 kB / 0.5922 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1919, allocations: 0 / 0.5922 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.192, allocations: 11.98 kB / 0.5922 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.192, allocations: 0 / 0.5922 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.192, allocations: 4 kB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.526e-05/0.1921, allocations: 87.3 kB / 0.5923 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1921, allocations: 4 kB / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000326/0.1925, allocations: 16 kB / 0.5923 GB, free: 13.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.1927, allocations: 107.2 kB / 0.5924 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1929, allocations: 43.97 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1929, allocations: 4 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.193, allocations: 27.92 kB / 0.5925 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1933, allocations: 7.047 kB / 0.5925 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.1936, allocations: 120.8 kB / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1939, allocations: 0.6809 MB / 0.5933 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.1939, allocations: 3.938 kB / 0.5933 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.1939, allocations: 7.438 kB / 0.5933 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1939, allocations: 0 / 0.5933 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.003133/0.1971, allocations: 0.621 MB / 0.5939 GB, free: 11.79 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)