Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 132 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.001145/0.001145, allocations: 194.2 kB / 16.53 MB, free: 6.391 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 / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 64.8 kB / 0.5054 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1946, allocations: 80.93 MB / 0.5844 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001676/0.1963, allocations: 0.558 MB / 0.5849 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.1965, allocations: 59.78 kB / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.1966, allocations: 0 / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.1966, allocations: 0 / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.1966, allocations: 3.938 kB / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1968, allocations: 11.98 kB / 0.585 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.909e-05/0.1969, allocations: 7.984 kB / 0.585 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.1969, allocations: 3.938 kB / 0.585 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.1969, allocations: 0 / 0.585 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.961e-05/0.197, allocations: 0 / 0.585 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.197, allocations: 0 / 0.585 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1971, allocations: 27.97 kB / 0.585 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1971, allocations: 0 / 0.585 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.1971, allocations: 3.938 kB / 0.585 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.063e-05/0.1972, allocations: 19.97 kB / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1972, allocations: 0 / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1972, allocations: 0 / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1972, allocations: 0 / 0.5851 GB, free: 3.809 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.000278/0.1975, allocations: 315.6 kB / 0.5854 GB, free: 3.449 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1975, allocations: 12.02 kB / 0.5854 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.1978, allocations: 28.91 kB / 0.5854 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.1979, allocations: 160.4 kB / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1979, allocations: 384 / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.1979, allocations: 384 / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1981, allocations: 34.25 kB / 0.5856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1981, allocations: 192 / 0.5856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1981, allocations: 3.938 kB / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1981, allocations: 0 / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.1982, allocations: 19.92 kB / 0.5856 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.1983, allocations: 145.7 kB / 0.5858 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.1984, allocations: 22.61 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1985, allocations: 12.91 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1985, allocations: 0 / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1985, allocations: 34.56 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1985, allocations: 0 / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002322/0.1988, allocations: 49.56 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1988, allocations: 55.39 kB / 0.5859 GB, free: 2.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.042e-05/0.1989, allocations: 89.86 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1989, allocations: 29.7 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.1989, allocations: 80.14 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.1989, allocations: 12.03 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.199, allocations: 9.719 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1991, allocations: 314.8 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.1991, allocations: 7.984 kB / 0.5864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.1992, allocations: 4 kB / 0.5864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.745e-05/0.1993, allocations: 12.84 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1993, allocations: 16 kB / 0.5865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.1994, allocations: 45.62 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1994, allocations: 4 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1994, allocations: 0 / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1995, allocations: 3.938 kB / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.1995, allocations: 7.984 kB / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1995, allocations: 0 / 0.5865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.1996, allocations: 4 kB / 0.5865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1996, allocations: 4.031 kB / 0.5865 GB, free: 2.074 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 6.378e-05/0.1997, allocations: 105.8 kB / 0.5866 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1997, allocations: 3.984 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.1997, allocations: 7.062 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1997, allocations: 0 / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1997, allocations: 4 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1997, allocations: 0 / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.256e-05/0.1998, allocations: 145.7 kB / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1998, allocations: 0 / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.1999, allocations: 11.98 kB / 0.5868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1999, allocations: 0 / 0.5868 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1999, allocations: 7.922 kB / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1999, allocations: 0 / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1999, allocations: 0 / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.2, allocations: 69.05 kB / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.2001, allocations: 81.14 kB / 0.587 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.2001, allocations: 3.938 kB / 0.587 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.2001, allocations: 4 kB / 0.587 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.2001, allocations: 4 kB / 0.587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2002, allocations: 0 / 0.587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.277e-05/0.2002, allocations: 75.28 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2002, allocations: 0 / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001693/0.2004, allocations: 0 / 0.587 GB, free: 1.465 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.0001233/0.2005, allocations: 103.2 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.2006, allocations: 19.86 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2006, allocations: 0 / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.2007, allocations: 8 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.2008, allocations: 288 / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.201, allocations: 88.92 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2013, allocations: 0.6769 MB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.2013, allocations: 4 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.2013, allocations: 7.438 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2013, allocations: 0 / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of Templates: time 0.001783/0.2031, allocations: 226.7 kB / 0.5881 GB, free: 284 kB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)