Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") translateModel(Annex60.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3217/0.3217, allocations: 55 MB / 69.95 MB, free: 8.699 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.001068/0.001067, allocations: 189.8 kB / 83.98 MB, free: 10.86 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.744/1.744, allocations: 194.4 MB / 292.3 MB, free: 3.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0018/0.0018, allocations: 117.4 kB / 350.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004416, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1419, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.6091, allocations: 84.86 MB / 0.5482 GB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.6095, allocations: 67.95 kB / 0.5483 GB, free: 4.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0005596/0.61, allocations: 387.5 kB / 0.5486 GB, free: 4.043 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.6101, allocations: 0 / 0.5486 GB, free: 4.043 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.6101, allocations: 3.75 kB / 0.5487 GB, free: 4.043 MB / 362.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.000259/0.6103, allocations: 307.9 kB / 0.5489 GB, free: 3.699 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6104, allocations: 16.08 kB / 0.549 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.6104, allocations: 0 / 0.549 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.921e-05/0.6105, allocations: 159.1 kB / 0.5491 GB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.6105, allocations: 3.938 kB / 0.5491 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.6106, allocations: 3.875 kB / 0.5491 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.6107, allocations: 30.53 kB / 0.5491 GB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6107, allocations: 4 kB / 0.5492 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6107, allocations: 0 / 0.5492 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6107, allocations: 1.312 kB / 0.5492 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.6108, allocations: 0 / 0.5492 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.6109, allocations: 156.4 kB / 0.5493 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.6109, allocations: 18.61 kB / 0.5493 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.611, allocations: 0 / 0.5493 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.611, allocations: 37.66 kB / 0.5494 GB, free: 3.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.611, allocations: 0 / 0.5494 GB, free: 3.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.6111, allocations: 37.66 kB / 0.5494 GB, free: 3.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.6112, allocations: 51.41 kB / 0.5494 GB, free: 3.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.353e-05/0.6112, allocations: 93.12 kB / 0.5495 GB, free: 2.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.6112, allocations: 25.7 kB / 0.5496 GB, free: 2.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.6112, allocations: 80.14 kB / 0.5496 GB, free: 2.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.6113, allocations: 3.906 kB / 0.5496 GB, free: 2.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.6113, allocations: 0 / 0.5496 GB, free: 2.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.6114, allocations: 318.1 kB / 0.5499 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.6114, allocations: 0 / 0.5499 GB, free: 2.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.6114, allocations: 4 kB / 0.5499 GB, free: 2.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.6114, allocations: 4.062 kB / 0.5499 GB, free: 2.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6114, allocations: 0 / 0.5499 GB, free: 2.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.142e-05/0.6115, allocations: 29.7 kB / 0.55 GB, free: 2.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.6115, allocations: 8 kB / 0.55 GB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6115, allocations: 0 / 0.55 GB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6115, allocations: 0 / 0.55 GB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.6116, allocations: 3.938 kB / 0.55 GB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6116, allocations: 3.953 kB / 0.55 GB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.6116, allocations: 0 / 0.55 GB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.6116, allocations: 4 kB / 0.55 GB, free: 2.48 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.6117, allocations: 117 kB / 0.5501 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.6117, allocations: 0 / 0.5501 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.6117, allocations: 7.078 kB / 0.5501 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.6117, allocations: 0 / 0.5501 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6117, allocations: 0 / 0.5501 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6118, allocations: 7.953 kB / 0.5501 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.728e-05/0.6118, allocations: 143.8 kB / 0.5503 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6118, allocations: 3.984 kB / 0.5503 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-06/0.6118, allocations: 0 / 0.5503 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.6119, allocations: 0 / 0.5503 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.6119, allocations: 7.938 kB / 0.5503 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6119, allocations: 4 kB / 0.5503 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.6119, allocations: 3.828 kB / 0.5503 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.026e-05/0.6119, allocations: 56.16 kB / 0.5503 GB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.612, allocations: 85.03 kB / 0.5504 GB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.612, allocations: 7.172 kB / 0.5504 GB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-06/0.612, allocations: 4 kB / 0.5504 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.612, allocations: 4.031 kB / 0.5504 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.6121, allocations: 0 / 0.5504 GB, free: 1.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.846e-05/0.6121, allocations: 75.28 kB / 0.5505 GB, free: 1.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6121, allocations: 0 / 0.5505 GB, free: 1.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.6123, allocations: 0 / 0.5505 GB, free: 1.887 MB / 362.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 () * 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 (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 8.207e-05/0.6124, allocations: 91.25 kB / 0.5506 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.985e-05/0.6125, allocations: 4 kB / 0.5506 GB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6125, allocations: 0 / 0.5506 GB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.73e-06/0.6125, allocations: 8.062 kB / 0.5506 GB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.6126, allocations: 3.953 kB / 0.5506 GB, free: 1.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.6128, allocations: 82.75 kB / 0.5507 GB, free: 1.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.6129, allocations: 0.6731 MB / 0.5513 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.613, allocations: 0 / 0.5513 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.613, allocations: 7.438 kB / 0.5513 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.613, allocations: 0 / 0.5513 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of Templates: time 0.00178/0.6148, allocations: 159.2 kB / 0.5515 GB, free: 0.8203 MB / 362.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.pipe 2>&1)