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.001361/0.001361, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.0015/0.0015, allocations: 183.1 kB / 17.34 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8622/0.8622, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.69 kB / 0.5863 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.184, allocations: 80.93 MB / 0.6653 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001949/0.186, allocations: 0.5681 MB / 0.6659 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.1869, allocations: 321.8 kB / 0.6662 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.1869, allocations: 3.938 kB / 0.6662 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.187, allocations: 0 / 0.6662 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-06/0.187, allocations: 0 / 0.6662 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.1876, allocations: 107.6 kB / 0.6663 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.1876, allocations: 4 kB / 0.6663 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.1877, allocations: 8 kB / 0.6663 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.1877, allocations: 3.984 kB / 0.6663 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.1877, allocations: 0 / 0.6663 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1878, allocations: 0 / 0.6663 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.1882, allocations: 275.6 kB / 0.6666 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1883, allocations: 0 / 0.6666 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.1883, allocations: 4 kB / 0.6666 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1885, allocations: 79.86 kB / 0.6667 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1885, allocations: 0 / 0.6667 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1885, allocations: 0 / 0.6667 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.1885, allocations: 4 kB / 0.6667 GB, free: 4.52 MB / 0.4981 GB 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.0003878/0.1889, allocations: 335.5 kB / 0.667 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.189, allocations: 13.11 kB / 0.667 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.1891, allocations: 4.875 kB / 0.667 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1892, allocations: 160.4 kB / 0.6672 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1892, allocations: 4.312 kB / 0.6672 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1892, allocations: 384 / 0.6672 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1893, allocations: 34.25 kB / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1893, allocations: 192 / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1893, allocations: 7.938 kB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1894, allocations: 0 / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.1894, allocations: 0 / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.1895, allocations: 153.7 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.1896, allocations: 18.52 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.1896, allocations: 4.859 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005502/0.1902, allocations: 433.5 kB / 0.6678 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1902, allocations: 30.56 kB / 0.6678 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.1902, allocations: 0 / 0.6678 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001609/0.1904, allocations: 41.62 kB / 0.6679 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1904, allocations: 51.41 kB / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.1905, allocations: 93.86 kB / 0.668 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1905, allocations: 29.83 kB / 0.668 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.1905, allocations: 80.14 kB / 0.6681 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1906, allocations: 0 / 0.6681 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1906, allocations: 13.72 kB / 0.6681 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1907, allocations: 310.8 kB / 0.6684 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.1907, allocations: 3.938 kB / 0.6684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-06/0.1908, allocations: 11.92 kB / 0.6684 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.1908, allocations: 12.92 kB / 0.6684 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1908, allocations: 0 / 0.6684 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.39e-05/0.1909, allocations: 33.7 kB / 0.6685 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1909, allocations: 4 kB / 0.6685 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1909, allocations: 0 / 0.6685 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1909, allocations: 3.938 kB / 0.6685 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.191, allocations: 4 kB / 0.6685 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.191, allocations: 0 / 0.6685 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.191, allocations: 0 / 0.6685 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.191, allocations: 7.875 kB / 0.6685 GB, free: 2.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 (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.039e-05/0.1911, allocations: 113.9 kB / 0.6686 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1911, allocations: 4 kB / 0.6686 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1912, allocations: 44.7 kB / 0.6686 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1913, allocations: 0 / 0.6686 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1913, allocations: 0 / 0.6686 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1913, allocations: 0 / 0.6686 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.928e-05/0.1914, allocations: 149.7 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1914, allocations: 0 / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.1914, allocations: 4.031 kB / 0.6688 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1914, allocations: 0 / 0.6688 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1914, allocations: 3.938 kB / 0.6688 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1914, allocations: 0 / 0.6688 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1914, allocations: 4 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.1915, allocations: 65.05 kB / 0.6689 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.1916, allocations: 77.11 kB / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1916, allocations: 7.938 kB / 0.6689 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.1916, allocations: 8.031 kB / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.1916, allocations: 0 / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1916, allocations: 0 / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.1917, allocations: 75.28 kB / 0.669 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1917, allocations: 0 / 0.669 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00023/0.1919, allocations: 12 kB / 0.669 GB, free: 1.676 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 (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.0001923/0.1921, allocations: 112.6 kB / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.1922, allocations: 8 kB / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1922, allocations: 3.938 kB / 0.6692 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.1922, allocations: 4 kB / 0.6692 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.1924, allocations: 5.875 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.1926, allocations: 110.5 kB / 0.6693 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1929, allocations: 0.669 MB / 0.6699 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.1929, allocations: 11.44 kB / 0.6699 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1929, allocations: 3.938 kB / 0.6699 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of Templates: time 0.001912/0.1948, allocations: 459.7 kB / 0.6704 GB, free: 240 kB / 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)