Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001865/0.001865, allocations: 194.6 kB / 16.14 MB, free: 6.645 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9806/0.9806, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.98 kB / 0.5047 GB, free: 5.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1729, allocations: 80.92 MB / 0.5837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002539/0.1755, allocations: 1.514 MB / 0.5852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009431/0.1765, allocations: 0.5658 MB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.1765, allocations: 0 / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.1766, allocations: 3.984 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.278e-05/0.1766, allocations: 3.938 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1768, allocations: 43.91 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.1769, allocations: 19.92 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.177, allocations: 8 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.1771, allocations: 19.91 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.1771, allocations: 15.92 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1771, allocations: 0 / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1773, allocations: 47.97 kB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1773, allocations: 3.984 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.1773, allocations: 19.86 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1775, allocations: 67.86 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1775, allocations: 0 / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1775, allocations: 3.938 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1775, allocations: 0 / 0.586 GB, free: 2.699 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.0004664/0.178, allocations: 351.6 kB / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.178, allocations: 12.03 kB / 0.5863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.178, allocations: 0.9375 kB / 0.5863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1781, allocations: 172.2 kB / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1782, allocations: 384 / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.1782, allocations: 384 / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1783, allocations: 57.97 kB / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.1783, allocations: 0 / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1783, allocations: 0 / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1783, allocations: 4 kB / 0.5866 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.1784, allocations: 15.98 kB / 0.5866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1787, allocations: 260.8 kB / 0.5868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.1788, allocations: 34.52 kB / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.1789, allocations: 16.91 kB / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/0.1797, allocations: 473.4 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1797, allocations: 38.55 kB / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1797, allocations: 0 / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002364/0.1799, allocations: 57.62 kB / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.18, allocations: 59.41 kB / 0.5875 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.1801, allocations: 105.8 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1801, allocations: 25.7 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.1802, allocations: 92.25 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1802, allocations: 7.906 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1802, allocations: 13.72 kB / 0.5877 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1804, allocations: 322.8 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.1804, allocations: 7.984 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.1805, allocations: 8 kB / 0.588 GB, free: 308 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/0.1806, allocations: 32.78 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1806, allocations: 4.062 kB / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/0.1807, allocations: 61.52 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1807, allocations: 4 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1807, allocations: 0 / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1807, allocations: 4 kB / 0.5881 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.1808, allocations: 4 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1808, allocations: 4 kB / 0.5881 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.1809, allocations: 3.984 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1809, allocations: 320 / 0.5881 GB, free: 180 kB / 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 (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 7.224e-05/0.1809, allocations: 117.8 kB / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.181, allocations: 4 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.1812, allocations: 57.2 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1812, allocations: 7.938 kB / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1812, allocations: 3.938 kB / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1812, allocations: 0 / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1814, allocations: 165.6 kB / 0.5885 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1814, allocations: 4.031 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.1814, allocations: 8 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1814, allocations: 0 / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1814, allocations: 0 / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1814, allocations: 0 / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1814, allocations: 0 / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1816, allocations: 155.4 kB / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.1816, allocations: 81.14 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1817, allocations: 4 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.1817, allocations: 0 / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1818, allocations: 7.984 kB / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1818, allocations: 0 / 0.5887 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.666e-05/0.1819, allocations: 91.25 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.954e-06/0.1819, allocations: 0 / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000243/0.1821, allocations: 23.92 kB / 0.5888 GB, free: 15.36 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.0001642/0.1823, allocations: 115.2 kB / 0.5889 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.1824, allocations: 23.97 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1825, allocations: 0 / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.1825, allocations: 8 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.1827, allocations: 14.28 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.183, allocations: 136.4 kB / 0.5891 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1832, allocations: 0.677 MB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.1833, allocations: 4 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.1833, allocations: 11.42 kB / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1833, allocations: 0 / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.002432/0.1857, allocations: 0.6481 MB / 0.5904 GB, free: 13.67 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)