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.001061/0.001061, allocations: 107 kB / 16.36 MB, free: 6.336 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.0009988/0.0009988, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.304/1.304, 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.7527/0.7527, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3942, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001777/0.396, allocations: 0.5778 MB / 0.5863 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.3963, allocations: 50.98 kB / 0.5864 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.3963, allocations: 0 / 0.5864 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.3963, allocations: 0.625 kB / 0.5864 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.3963, allocations: 0 / 0.5864 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3966, allocations: 22.03 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.711e-05/0.3966, allocations: 6.094 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.3967, allocations: 3.406 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.3967, allocations: 1.25 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.12e-05/0.3967, allocations: 3.984 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.3967, allocations: 1.312 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.3968, allocations: 17.73 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.3968, allocations: 0 / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.3969, allocations: 6.781 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.434e-05/0.3969, allocations: 18.69 kB / 0.5865 GB, free: 25.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3969, allocations: 0 / 0.5865 GB, free: 25.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.397, allocations: 0 / 0.5865 GB, free: 25.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.397, allocations: 0 / 0.5865 GB, free: 25.07 MB / 446.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.0002001/0.3972, allocations: 321.4 kB / 0.5868 GB, free: 24.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3972, allocations: 10.08 kB / 0.5868 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.3974, allocations: 18.72 kB / 0.5868 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.47e-05/0.3975, allocations: 160.9 kB / 0.5869 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3975, allocations: 2.031 kB / 0.587 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3975, allocations: 1.281 kB / 0.587 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.3977, allocations: 44.11 kB / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3977, allocations: 192 / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3977, allocations: 3.938 kB / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.3977, allocations: 0.5625 kB / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.3978, allocations: 10.92 kB / 0.587 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.179e-05/0.3979, allocations: 147 kB / 0.5872 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.3979, allocations: 24.72 kB / 0.5872 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.398, allocations: 8.453 kB / 0.5872 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.398, allocations: 0.5 kB / 0.5872 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3981, allocations: 36.09 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3981, allocations: 2.656 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002081/0.3983, allocations: 48.48 kB / 0.5873 GB, free: 24.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.3983, allocations: 54.31 kB / 0.5873 GB, free: 24.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.48e-05/0.3983, allocations: 93.86 kB / 0.5874 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/0.3983, allocations: 25.7 kB / 0.5874 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.032e-05/0.3984, allocations: 81.52 kB / 0.5875 GB, free: 23.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3984, allocations: 4.531 kB / 0.5875 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.3984, allocations: 16.67 kB / 0.5875 GB, free: 23.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.3985, allocations: 316.1 kB / 0.5878 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.3985, allocations: 2.812 kB / 0.5878 GB, free: 23.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.404e-05/0.3986, allocations: 8.797 kB / 0.5878 GB, free: 23.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.764e-05/0.3986, allocations: 24.44 kB / 0.5879 GB, free: 23.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3986, allocations: 0 / 0.5879 GB, free: 23.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.906e-05/0.3987, allocations: 42.06 kB / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3988, allocations: 9.5 kB / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3988, allocations: 0 / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3988, allocations: 3.938 kB / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.3989, allocations: 2.625 kB / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3989, allocations: 3.094 kB / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.3989, allocations: 5.516 kB / 0.5879 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3989, allocations: 0 / 0.5879 GB, free: 23.45 MB / 446.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 4.153e-05/0.399, allocations: 109.1 kB / 0.588 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.399, allocations: 1.531 kB / 0.588 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.399, allocations: 8.031 kB / 0.588 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.399, allocations: 0 / 0.588 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.399, allocations: 1.719 kB / 0.588 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.399, allocations: 3.938 kB / 0.588 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.808e-05/0.3991, allocations: 156.2 kB / 0.5882 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3991, allocations: 0 / 0.5882 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.3991, allocations: 3.625 kB / 0.5882 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3991, allocations: 0.5 kB / 0.5882 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3992, allocations: 5.156 kB / 0.5882 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3992, allocations: 9.297 kB / 0.5882 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3992, allocations: 0 / 0.5882 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.3993, allocations: 61.59 kB / 0.5883 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.3993, allocations: 81.11 kB / 0.5884 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3993, allocations: 6.875 kB / 0.5884 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.3994, allocations: 5.547 kB / 0.5884 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.3994, allocations: 0 / 0.5884 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.3994, allocations: 1.25 kB / 0.5884 GB, free: 22.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.238e-05/0.3994, allocations: 78.69 kB / 0.5884 GB, free: 22.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3994, allocations: 0 / 0.5884 GB, free: 22.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001711/0.3996, allocations: 1.562 kB / 0.5884 GB, free: 22.88 MB / 446.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.0001506/0.3997, allocations: 99.88 kB / 0.5885 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3999, allocations: 15.95 kB / 0.5886 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3999, allocations: 1.312 kB / 0.5886 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.3999, allocations: 8.484 kB / 0.5886 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.4001, allocations: 3.969 kB / 0.5886 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.4004, allocations: 89.23 kB / 0.5886 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.4005, allocations: 0.6708 MB / 0.5893 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.027e-05/0.4006, allocations: 4.469 kB / 0.5893 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.4006, allocations: 7.438 kB / 0.5893 GB, free: 21.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4006, allocations: 0 / 0.5893 GB, free: 21.97 MB / 446.1 MB Notification: Performance of Templates: time 0.001981/0.4026, allocations: 226.7 kB / 0.5895 GB, free: 21.86 MB / 446.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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)