Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8035/0.8035, allocations: 130.6 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.3 MB / 396.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008772, allocations: 101 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.093e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 81.58 MB / 0.6348 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5152/0.6431, allocations: 110.3 MB / 0.7424 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.6434, allocations: 78.19 kB / 0.7425 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001666/0.6451, allocations: 0.5351 MB / 0.743 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6451, allocations: 0 / 0.743 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.6451, allocations: 0 / 0.743 GB, free: 28.07 MB / 0.5105 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.0001989/0.6453, allocations: 315 kB / 0.7433 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6454, allocations: 15.47 kB / 0.7434 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.6456, allocations: 17.64 kB / 0.7434 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.6457, allocations: 164.3 kB / 0.7435 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.6457, allocations: 0 / 0.7435 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.6457, allocations: 0 / 0.7435 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.6458, allocations: 32.83 kB / 0.7436 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6458, allocations: 0 / 0.7436 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.6458, allocations: 0 / 0.7436 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6458, allocations: 4 kB / 0.7436 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.6459, allocations: 5.156 kB / 0.7436 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.646, allocations: 152.7 kB / 0.7437 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.214e-05/0.646, allocations: 27.09 kB / 0.7437 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.6461, allocations: 4.859 kB / 0.7438 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.6461, allocations: 0 / 0.7438 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.6461, allocations: 36.81 kB / 0.7438 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.6461, allocations: 1.094 kB / 0.7438 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001063/0.6462, allocations: 36.3 kB / 0.7438 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.6463, allocations: 51.41 kB / 0.7439 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.832e-05/0.6463, allocations: 85 kB / 0.744 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.6463, allocations: 25.7 kB / 0.744 GB, free: 27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.6464, allocations: 84.08 kB / 0.7441 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.6464, allocations: 6.781 kB / 0.7441 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.6464, allocations: 0 / 0.7441 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6465, allocations: 316.3 kB / 0.7444 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.6465, allocations: 3.969 kB / 0.7444 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.6465, allocations: 3.938 kB / 0.7444 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.592e-05/0.6466, allocations: 3.906 kB / 0.7444 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6466, allocations: 3.953 kB / 0.7444 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.35e-05/0.6466, allocations: 36.34 kB / 0.7444 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.6466, allocations: 3.812 kB / 0.7444 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6466, allocations: 0 / 0.7444 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6467, allocations: 7.938 kB / 0.7444 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.6467, allocations: 1.688 kB / 0.7444 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6467, allocations: 0 / 0.7444 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.6468, allocations: 4.891 kB / 0.7444 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.6468, allocations: 1.359 kB / 0.7444 GB, free: 26.55 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.6469, allocations: 108.7 kB / 0.7445 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.6469, allocations: 11.78 kB / 0.7445 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.6469, allocations: 3.125 kB / 0.7446 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.6469, allocations: 5.5 kB / 0.7446 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6469, allocations: 0 / 0.7446 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.6469, allocations: 3.938 kB / 0.7446 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.445e-05/0.647, allocations: 143.1 kB / 0.7447 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.647, allocations: 0 / 0.7447 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.6471, allocations: 9.391 kB / 0.7447 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6471, allocations: 1.594 kB / 0.7447 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.6471, allocations: 2 kB / 0.7447 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6471, allocations: 3.844 kB / 0.7447 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6471, allocations: 0 / 0.7447 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.487e-05/0.6472, allocations: 59.3 kB / 0.7448 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.6472, allocations: 77.11 kB / 0.7448 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.6472, allocations: 8.984 kB / 0.7449 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.6473, allocations: 0 / 0.7449 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-06/0.6473, allocations: 1.781 kB / 0.7449 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.6473, allocations: 0 / 0.7449 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.6473, allocations: 83.09 kB / 0.7449 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6473, allocations: 4.031 kB / 0.7449 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001701/0.6475, allocations: 3.312 kB / 0.7449 GB, free: 25.98 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.6476, allocations: 96.8 kB / 0.745 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.576e-05/0.6477, allocations: 5.141 kB / 0.745 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6477, allocations: 0 / 0.745 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-06/0.6477, allocations: 9.25 kB / 0.745 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.415e-05/0.6478, allocations: 0 / 0.745 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.648, allocations: 52.3 kB / 0.7451 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.6482, allocations: 0.6741 MB / 0.7458 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.6483, allocations: 0 / 0.7458 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.6483, allocations: 12.64 kB / 0.7458 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.6483, allocations: 0 / 0.7458 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.001514/0.6498, allocations: 230.3 kB / 0.746 GB, free: 25.07 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)