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.005272/0.005272, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001148/0.001148, allocations: 182.7 kB / 16.67 MB, free: 5.977 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 / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9533/0.9533, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 0.5857 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4319, allocations: 80.9 MB / 0.6647 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002061/0.434, allocations: 0.5753 MB / 0.6652 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.4343, allocations: 53.05 kB / 0.6653 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.4343, allocations: 0 / 0.6653 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.4344, allocations: 3.938 kB / 0.6653 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-06/0.4344, allocations: 4 kB / 0.6653 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.4347, allocations: 13.62 kB / 0.6653 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.591e-05/0.4347, allocations: 1.062 kB / 0.6653 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.4348, allocations: 9.203 kB / 0.6653 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.4348, allocations: 1.625 kB / 0.6653 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.119e-05/0.4348, allocations: 0 / 0.6653 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.4348, allocations: 0 / 0.6653 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.435, allocations: 18.83 kB / 0.6653 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.435, allocations: 0 / 0.6653 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.435, allocations: 1.312 kB / 0.6653 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.4351, allocations: 25.34 kB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4351, allocations: 1.125 kB / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4351, allocations: 0 / 0.6654 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.4351, allocations: 3.938 kB / 0.6654 GB, free: 7.098 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.0002573/0.4354, allocations: 317.6 kB / 0.6657 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4354, allocations: 9.25 kB / 0.6657 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.4357, allocations: 21.53 kB / 0.6657 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.552e-05/0.4358, allocations: 161.6 kB / 0.6659 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4358, allocations: 8.359 kB / 0.6659 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4358, allocations: 1.656 kB / 0.6659 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.436, allocations: 34.56 kB / 0.6659 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.436, allocations: 192 / 0.6659 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.436, allocations: 3.938 kB / 0.6659 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.436, allocations: 0 / 0.6659 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.4361, allocations: 17.3 kB / 0.6659 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.4363, allocations: 151 kB / 0.6661 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.54e-05/0.4363, allocations: 23.16 kB / 0.6661 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.4364, allocations: 8.359 kB / 0.6661 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4364, allocations: 0 / 0.6661 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.4365, allocations: 35.66 kB / 0.6661 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.4365, allocations: 0 / 0.6661 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002475/0.4367, allocations: 57.11 kB / 0.6662 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.4368, allocations: 51.41 kB / 0.6662 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.248e-05/0.4368, allocations: 91.14 kB / 0.6663 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.4368, allocations: 25.7 kB / 0.6663 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/0.4368, allocations: 80.14 kB / 0.6664 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.4369, allocations: 1.281 kB / 0.6664 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.4369, allocations: 19.3 kB / 0.6664 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.4369, allocations: 315.9 kB / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.437, allocations: 3.219 kB / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.437, allocations: 10.33 kB / 0.6667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.4371, allocations: 16 kB / 0.6668 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4371, allocations: 0 / 0.6668 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001241/0.4373, allocations: 47.62 kB / 0.6668 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4373, allocations: 5 kB / 0.6668 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4373, allocations: 0 / 0.6668 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4373, allocations: 5.125 kB / 0.6668 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.4374, allocations: 2.375 kB / 0.6668 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4374, allocations: 7.922 kB / 0.6668 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.4374, allocations: 2 kB / 0.6668 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4375, allocations: 1.375 kB / 0.6668 GB, free: 5.465 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 5.238e-05/0.4375, allocations: 109.8 kB / 0.6669 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.4375, allocations: 5.344 kB / 0.6669 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.4376, allocations: 7.062 kB / 0.6669 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4376, allocations: 5.172 kB / 0.667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4376, allocations: 0 / 0.667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4376, allocations: 0 / 0.667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.395e-05/0.4377, allocations: 147 kB / 0.6671 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4377, allocations: 0 / 0.6671 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.4377, allocations: 3.938 kB / 0.6671 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4377, allocations: 0 / 0.6671 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.4377, allocations: 7.922 kB / 0.6671 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4377, allocations: 5.219 kB / 0.6671 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4377, allocations: 0 / 0.6671 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.4379, allocations: 68.19 kB / 0.6672 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.4379, allocations: 77.11 kB / 0.6672 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.4379, allocations: 7.875 kB / 0.6673 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.438, allocations: 5.391 kB / 0.6673 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.438, allocations: 5.5 kB / 0.6673 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.438, allocations: 0 / 0.6673 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.61e-05/0.438, allocations: 79.33 kB / 0.6673 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.438, allocations: 0 / 0.6673 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001803/0.4382, allocations: 1.406 kB / 0.6673 GB, free: 4.867 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.0001257/0.4383, allocations: 96.8 kB / 0.6674 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.4385, allocations: 19.8 kB / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4385, allocations: 0 / 0.6675 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.4385, allocations: 13.39 kB / 0.6675 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.4387, allocations: 0 / 0.6675 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.4389, allocations: 92.73 kB / 0.6676 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.4391, allocations: 0.6701 MB / 0.6682 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.4391, allocations: 5.188 kB / 0.6682 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.4391, allocations: 8.875 kB / 0.6682 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of SimCode: time 1.81e-07/0.4391, allocations: 0 / 0.6682 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.00243/0.4416, allocations: 231.4 kB / 0.6684 GB, free: 3.824 MB / 0.4981 GB 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)