Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 130.7 MB / 138.8 MB, free: 3.582 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.472/1.472, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0008874/0.0008875, allocations: 96.88 kB / 473.9 MB, free: 4.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.223e-05, allocations: 4 kB / 0.5485 GB, free: 13.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4404, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5753, allocations: 111 MB / 0.7365 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.5755, allocations: 83.89 kB / 0.7366 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01237/0.5879, allocations: 4.324 MB / 0.7408 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5879, allocations: 0 / 0.7408 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.588, allocations: 0 / 0.7408 GB, free: 11.45 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000437/0.5884, allocations: 370.4 kB / 0.7412 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5884, allocations: 8.031 kB / 0.7412 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.5885, allocations: 11.89 kB / 0.7412 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.5886, allocations: 163 kB / 0.7414 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5887, allocations: 0 / 0.7414 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.5887, allocations: 4 kB / 0.7414 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.893e-05/0.5888, allocations: 8 kB / 0.7414 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/0.5888, allocations: 41.62 kB / 0.7414 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5888, allocations: 4 kB / 0.7414 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.5889, allocations: 0 / 0.7414 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5889, allocations: 4 kB / 0.7414 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.5892, allocations: 249.4 kB / 0.7417 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.5893, allocations: 26.61 kB / 0.7417 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.5893, allocations: 8.922 kB / 0.7417 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.59, allocations: 461.5 kB / 0.7421 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.59, allocations: 34.55 kB / 0.7422 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.385e-06/0.59, allocations: 8.922 kB / 0.7422 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002084/0.5903, allocations: 45.61 kB / 0.7422 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5903, allocations: 51.41 kB / 0.7423 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.5904, allocations: 93 kB / 0.7424 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.5904, allocations: 29.64 kB / 0.7424 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.5905, allocations: 88.12 kB / 0.7425 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.5905, allocations: 7.906 kB / 0.7425 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.5905, allocations: 0 / 0.7425 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5906, allocations: 318.8 kB / 0.7428 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.5906, allocations: 4 kB / 0.7428 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.5907, allocations: 11.94 kB / 0.7428 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.5907, allocations: 4 kB / 0.7428 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5907, allocations: 0 / 0.7428 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.651e-05/0.5908, allocations: 45.69 kB / 0.7428 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.5908, allocations: 4 kB / 0.7428 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.5908, allocations: 0 / 0.7428 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5908, allocations: 0 / 0.7428 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.829e-05/0.5909, allocations: 16.08 kB / 0.7429 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.591, allocations: 0 / 0.7429 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.591, allocations: 8 kB / 0.7429 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.591, allocations: 0 / 0.7429 GB, free: 9.07 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 (2): * Single equations (assignments): 2 * 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 7.328e-05/0.5911, allocations: 110.6 kB / 0.743 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.5911, allocations: 11.92 kB / 0.743 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.5913, allocations: 45.92 kB / 0.743 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5913, allocations: 3.984 kB / 0.743 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5913, allocations: 11.94 kB / 0.743 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.5913, allocations: 0 / 0.743 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.5914, allocations: 142.1 kB / 0.7432 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5914, allocations: 0 / 0.7432 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.5915, allocations: 11.98 kB / 0.7432 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5915, allocations: 0 / 0.7432 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.5915, allocations: 0 / 0.7432 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5915, allocations: 8.031 kB / 0.7432 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5915, allocations: 0 / 0.7432 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.5917, allocations: 143.4 kB / 0.7433 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.5917, allocations: 81.06 kB / 0.7434 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.5917, allocations: 0 / 0.7434 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.5918, allocations: 11.98 kB / 0.7434 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.5918, allocations: 8.031 kB / 0.7434 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.5919, allocations: 0 / 0.7434 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.5919, allocations: 79.28 kB / 0.7435 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5919, allocations: 0 / 0.7435 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002185/0.5921, allocations: 16 kB / 0.7435 GB, free: 8.316 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 (2): * Single equations (assignments): 2 * 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.0001629/0.5923, allocations: 115.2 kB / 0.7436 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.948e-05/0.5924, allocations: 12 kB / 0.7436 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5924, allocations: 0 / 0.7436 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.5924, allocations: 20 kB / 0.7437 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.5926, allocations: 0 / 0.7437 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.5928, allocations: 63.94 kB / 0.7437 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.5931, allocations: 0.6768 MB / 0.7444 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.5931, allocations: 4 kB / 0.7444 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.5931, allocations: 7.438 kB / 0.7444 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/0.5931, allocations: 0 / 0.7444 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of Templates: time 0.002273/0.5954, allocations: 0.582 MB / 0.745 GB, free: 6.781 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)