Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") translateModel(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2775/0.2775, allocations: 54.33 MB / 66.89 MB, free: 6.098 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001263/0.001264, allocations: 184.5 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.363/1.363, allocations: 194.2 MB / 288.6 MB, free: 15.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 110 kB / 346.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.088e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09901, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.4471, allocations: 84.75 MB / 0.5418 GB, free: 5.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4474, allocations: 75.95 kB / 0.5419 GB, free: 5.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001396/0.4489, allocations: 0.5281 MB / 0.5424 GB, free: 5.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4489, allocations: 4 kB / 0.5424 GB, free: 5.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4489, allocations: 0 / 0.5424 GB, free: 5.086 MB / 378.7 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.0002484/0.4491, allocations: 320.6 kB / 0.5427 GB, free: 4.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4492, allocations: 8.031 kB / 0.5427 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.4494, allocations: 15.97 kB / 0.5427 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.4495, allocations: 163 kB / 0.5429 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4495, allocations: 3.984 kB / 0.5429 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.4495, allocations: 0 / 0.5429 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.4497, allocations: 42.52 kB / 0.5429 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4497, allocations: 0 / 0.5429 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.4497, allocations: 0 / 0.5429 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4497, allocations: 0 / 0.5429 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.4497, allocations: 4 kB / 0.5429 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.4499, allocations: 145.7 kB / 0.5431 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.4499, allocations: 26.53 kB / 0.5431 GB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.45, allocations: 4.859 kB / 0.5431 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.45, allocations: 4 kB / 0.5431 GB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.45, allocations: 30.56 kB / 0.5431 GB, free: 4.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.45, allocations: 4.062 kB / 0.5431 GB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.4501, allocations: 34.28 kB / 0.5432 GB, free: 4.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4502, allocations: 51.41 kB / 0.5432 GB, free: 4.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.4502, allocations: 88.94 kB / 0.5433 GB, free: 3.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4503, allocations: 30.58 kB / 0.5433 GB, free: 3.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.4503, allocations: 88.16 kB / 0.5434 GB, free: 3.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.4503, allocations: 3.906 kB / 0.5434 GB, free: 3.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4503, allocations: 0 / 0.5434 GB, free: 3.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4505, allocations: 310.8 kB / 0.5437 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.4505, allocations: 7.938 kB / 0.5437 GB, free: 3.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.4505, allocations: 0 / 0.5437 GB, free: 3.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.132e-05/0.4505, allocations: 4 kB / 0.5437 GB, free: 3.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4505, allocations: 1.969 kB / 0.5437 GB, free: 3.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.269e-05/0.4506, allocations: 37.75 kB / 0.5438 GB, free: 3.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4506, allocations: 5.875 kB / 0.5438 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4506, allocations: 2.812 kB / 0.5438 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4506, allocations: 4 kB / 0.5438 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.4507, allocations: 0 / 0.5438 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4507, allocations: 3.953 kB / 0.5438 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.4508, allocations: 4 kB / 0.5438 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.4508, allocations: 0 / 0.5438 GB, free: 3.465 MB / 378.7 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 () * 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 0.0001085/0.4509, allocations: 109.7 kB / 0.5439 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.4509, allocations: 4.031 kB / 0.5439 GB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.451, allocations: 7.078 kB / 0.5439 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.451, allocations: 4 kB / 0.5439 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.451, allocations: 3.938 kB / 0.5439 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.451, allocations: 3.953 kB / 0.5439 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.4511, allocations: 141.7 kB / 0.544 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4511, allocations: 3.984 kB / 0.544 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.4511, allocations: 4 kB / 0.544 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4512, allocations: 3.938 kB / 0.544 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4512, allocations: 4 kB / 0.544 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4512, allocations: 0 / 0.544 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4512, allocations: 0 / 0.544 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.743e-05/0.4513, allocations: 65.08 kB / 0.5441 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.4513, allocations: 77.11 kB / 0.5442 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.4513, allocations: 0 / 0.5442 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.4514, allocations: 4 kB / 0.5442 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.4514, allocations: 8.016 kB / 0.5442 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.4514, allocations: 3.625 kB / 0.5442 GB, free: 2.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.956e-05/0.4514, allocations: 75.28 kB / 0.5443 GB, free: 2.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4515, allocations: 0 / 0.5443 GB, free: 2.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.4517, allocations: 4 kB / 0.5443 GB, free: 2.863 MB / 378.7 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 () * 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.0001143/0.4518, allocations: 99.14 kB / 0.5444 GB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.4518, allocations: 4 kB / 0.5444 GB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4519, allocations: 3.938 kB / 0.5444 GB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.4519, allocations: 8.062 kB / 0.5444 GB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.47e-05/0.452, allocations: 0 / 0.5444 GB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.4522, allocations: 49.05 kB / 0.5444 GB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4525, allocations: 0.677 MB / 0.5451 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.955e-05/0.4526, allocations: 4.062 kB / 0.5451 GB, free: 1.965 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.4526, allocations: 11.44 kB / 0.5451 GB, free: 1.957 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4526, allocations: 0 / 0.5451 GB, free: 1.957 MB / 378.7 MB Notification: Performance of Templates: time 0.001826/0.4545, allocations: 220.1 kB / 0.5453 GB, free: 1.742 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)