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.001698/0.001698, allocations: 170.5 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8366/0.8366, allocations: 130.7 MB / 138.7 MB, free: 3.621 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.806/1.806, allocations: 221.5 MB / 391.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001013, allocations: 89.84 kB / 473.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.636e-05, allocations: 8 kB / 0.5485 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4688, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.625, allocations: 109.6 MB / 0.7352 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.6254, allocations: 75.94 kB / 0.7353 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001305/0.6267, allocations: 0.5377 MB / 0.7358 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6267, allocations: 0 / 0.7358 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6267, allocations: 4 kB / 0.7358 GB, free: 0.5312 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.0002336/0.627, allocations: 310.5 kB / 0.7361 GB, free: 188 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.627, allocations: 8.031 kB / 0.7361 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.6272, allocations: 17.16 kB / 0.7361 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6274, allocations: 167 kB / 0.7363 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.6274, allocations: 0 / 0.7363 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.6274, allocations: 0 / 0.7363 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.737e-05/0.6275, allocations: 7.984 kB / 0.7363 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.298e-05/0.6276, allocations: 33.64 kB / 0.7363 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6276, allocations: 0 / 0.7363 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6276, allocations: 0 / 0.7363 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6276, allocations: 7.938 kB / 0.7363 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.6277, allocations: 131.1 kB / 0.7365 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.6278, allocations: 18.58 kB / 0.7365 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.6278, allocations: 12.23 kB / 0.7365 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.6278, allocations: 0 / 0.7365 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.6278, allocations: 34.56 kB / 0.7365 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.6279, allocations: 0 / 0.7365 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.628, allocations: 33.69 kB / 0.7366 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.628, allocations: 51.41 kB / 0.7366 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.819e-05/0.628, allocations: 85 kB / 0.7367 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.6281, allocations: 29.64 kB / 0.7367 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.6281, allocations: 84.08 kB / 0.7368 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.6281, allocations: 7.938 kB / 0.7368 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.6281, allocations: 4 kB / 0.7368 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6282, allocations: 310.8 kB / 0.7371 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.6283, allocations: 4 kB / 0.7371 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.6283, allocations: 0 / 0.7371 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.964e-05/0.6283, allocations: 4 kB / 0.7371 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6283, allocations: 0 / 0.7371 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.492e-05/0.6284, allocations: 38.52 kB / 0.7372 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6284, allocations: 5.562 kB / 0.7372 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6284, allocations: 8.094 kB / 0.7372 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.6284, allocations: 0 / 0.7372 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.6285, allocations: 0 / 0.7372 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.6285, allocations: 4 kB / 0.7372 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.6286, allocations: 3.984 kB / 0.7372 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.6286, allocations: 0 / 0.7372 GB, free: 14.95 MB / 0.5261 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.658e-05/0.6286, allocations: 102.6 kB / 0.7373 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.6287, allocations: 3.953 kB / 0.7373 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.6287, allocations: 13.44 kB / 0.7373 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.6287, allocations: 3.938 kB / 0.7373 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6287, allocations: 0 / 0.7373 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6287, allocations: 0 / 0.7373 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.786e-05/0.6288, allocations: 130.2 kB / 0.7374 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6288, allocations: 0 / 0.7374 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.6289, allocations: 4 kB / 0.7374 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6289, allocations: 0 / 0.7374 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.6289, allocations: 0 / 0.7374 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6289, allocations: 3.953 kB / 0.7374 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6289, allocations: 0 / 0.7374 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.089e-05/0.629, allocations: 65.12 kB / 0.7375 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.629, allocations: 77.11 kB / 0.7376 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.629, allocations: 4 kB / 0.7376 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.6291, allocations: 4 kB / 0.7376 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.6291, allocations: 7.938 kB / 0.7376 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.6291, allocations: 0 / 0.7376 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.6291, allocations: 79.31 kB / 0.7377 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6291, allocations: 0 / 0.7377 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001951/0.6293, allocations: 0 / 0.7377 GB, free: 14.38 MB / 0.5261 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.0001247/0.6295, allocations: 99.19 kB / 0.7377 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.6295, allocations: 4 kB / 0.7378 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6295, allocations: 0 / 0.7378 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-06/0.6296, allocations: 4 kB / 0.7378 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.097e-05/0.6297, allocations: 5.906 kB / 0.7378 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.6299, allocations: 53.56 kB / 0.7378 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.6301, allocations: 0.6768 MB / 0.7385 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.6301, allocations: 0 / 0.7385 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.6302, allocations: 7.438 kB / 0.7385 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6302, allocations: 4 kB / 0.7385 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.001705/0.6319, allocations: 205.9 kB / 0.7387 GB, free: 13.28 MB / 0.5261 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)