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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3932/0.3932, allocations: 54.97 MB / 325.3 MB, free: 0.6992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000516/0.0005162, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.304, allocations: 60.71 MB / 457.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.000742/0.3048, allocations: 328 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.18e-05/0.3049, allocations: 0 / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.3049, allocations: 0.7188 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.3049, allocations: 0 / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.3049, allocations: 4.688 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.241e-05/0.305, allocations: 0 / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.283e-05/0.3051, allocations: 0 / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.3051, allocations: 0 / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.3051, allocations: 8.141 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.3052, allocations: 2.625 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3052, allocations: 0 / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-06/0.3052, allocations: 1.656 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3052, allocations: 3.281 kB / 457.6 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.3052, allocations: 26.64 kB / 457.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.302e-05/0.3053, allocations: 0 / 457.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3053, allocations: 0.5312 kB / 457.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3053, allocations: 0 / 457.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3053, allocations: 3.25 kB / 457.7 MB, free: 38.4 MB / 382.1 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.0002378/0.3056, allocations: 304.8 kB / 458 MB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3056, allocations: 12.88 kB / 458 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3057, allocations: 3.344 kB / 458 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.673e-05/0.3057, allocations: 165.9 kB / 458.1 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3058, allocations: 4.266 kB / 458.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3058, allocations: 2.469 kB / 458.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3059, allocations: 25.7 kB / 458.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3059, allocations: 2.875 kB / 458.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3059, allocations: 0 / 458.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3059, allocations: 1.188 kB / 458.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.306, allocations: 3.75 kB / 458.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.3061, allocations: 152.1 kB / 458.3 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.3062, allocations: 18.52 kB / 458.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3062, allocations: 0 / 458.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3062, allocations: 36.31 kB / 458.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.3062, allocations: 0 / 458.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001777/0.3064, allocations: 34.48 kB / 458.4 MB, free: 37.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3065, allocations: 57.59 kB / 458.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.609e-05/0.3065, allocations: 89.86 kB / 458.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3065, allocations: 29.64 kB / 458.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.3066, allocations: 81.42 kB / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.3066, allocations: 0 / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.3066, allocations: 0 / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.3067, allocations: 318.4 kB / 459 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.3067, allocations: 0.5 kB / 459 MB, free: 36.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.3067, allocations: 6.734 kB / 459 MB, free: 36.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.3068, allocations: 3.031 kB / 459 MB, free: 36.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3068, allocations: 1.562 kB / 459 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.557e-05/0.3068, allocations: 31.89 kB / 459 MB, free: 36.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3069, allocations: 5.719 kB / 459 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3069, allocations: 0 / 459 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3069, allocations: 4.156 kB / 459 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.307, allocations: 0.5156 kB / 459 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.307, allocations: 1.875 kB / 459 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.307, allocations: 4.156 kB / 459 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.307, allocations: 4.781 kB / 459.1 MB, free: 36.91 MB / 382.1 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 7.589e-05/0.3071, allocations: 115.7 kB / 459.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-06/0.3071, allocations: 0 / 459.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.3072, allocations: 10.22 kB / 459.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3072, allocations: 7.328 kB / 459.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3072, allocations: 0 / 459.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3072, allocations: 0 / 459.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.651e-05/0.3073, allocations: 146.8 kB / 459.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3073, allocations: 1 kB / 459.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.3073, allocations: 3.031 kB / 459.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3073, allocations: 1.5 kB / 459.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3073, allocations: 3.188 kB / 459.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3073, allocations: 0 / 459.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3073, allocations: 0 / 459.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.856e-05/0.3074, allocations: 62.59 kB / 459.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.3075, allocations: 78.86 kB / 459.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3075, allocations: 3.281 kB / 459.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-06/0.3075, allocations: 0.9062 kB / 459.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.3075, allocations: 0.7031 kB / 459.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3075, allocations: 7.938 kB / 459.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.806e-05/0.3076, allocations: 75.28 kB / 459.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3076, allocations: 3.672 kB / 459.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.3078, allocations: 1.281 kB / 459.6 MB, free: 36.36 MB / 382.1 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 0.0001095/0.3079, allocations: 93.44 kB / 459.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.308, allocations: 6.406 kB / 459.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.308, allocations: 1.125 kB / 459.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.723e-06/0.3081, allocations: 3.375 kB / 459.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.3082, allocations: 7.688 kB / 459.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.3084, allocations: 78.48 kB / 459.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.3086, allocations: 0.6709 MB / 460.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.943e-05/0.3086, allocations: 6.609 kB / 460.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.3087, allocations: 8.438 kB / 460.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.3087, allocations: 0 / 460.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of Templates: time 0.002015/0.3107, allocations: 152.8 kB / 460.6 MB, free: 35.46 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.ModelTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: