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.001075/0.001075, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.01065/0.01065, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4574/0.4574, allocations: 55.01 MB / 325.7 MB, free: 0.5898 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.0009006/0.0009005, allocations: 16 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4166, allocations: 60.72 MB / 458 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.0007896/0.4175, allocations: 330.7 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 3.813e-05/0.4175, allocations: 5.906 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.464e-05/0.4176, allocations: 0 / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.4176, allocations: 0 / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.618e-06/0.4176, allocations: 0 / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.6e-05/0.4176, allocations: 0 / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.4177, allocations: 6.531 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.4178, allocations: 7.219 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.4178, allocations: 0 / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.977e-05/0.4178, allocations: 2.688 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.4178, allocations: 0.5938 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-06/0.4178, allocations: 0 / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.4179, allocations: 1.812 kB / 458.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.4179, allocations: 29.09 kB / 458.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.449e-05/0.418, allocations: 0 / 458.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.418, allocations: 0 / 458.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.418, allocations: 2.562 kB / 458.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.418, allocations: 1.781 kB / 458.4 MB, free: 38.3 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.0002215/0.4182, allocations: 308.2 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4183, allocations: 11.16 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.4183, allocations: 0.9375 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.272e-05/0.4184, allocations: 162.1 kB / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4184, allocations: 0.9375 kB / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.4184, allocations: 2.906 kB / 458.8 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.4185, allocations: 29.23 kB / 458.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4185, allocations: 2.141 kB / 458.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.4185, allocations: 3.938 kB / 458.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4186, allocations: 1.75 kB / 458.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.4186, allocations: 12.98 kB / 458.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.4187, allocations: 142.2 kB / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.24e-05/0.4187, allocations: 21.7 kB / 459 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.4188, allocations: 9.984 kB / 459.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.4188, allocations: 0 / 459.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.4188, allocations: 34.64 kB / 459.1 MB, free: 37.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.4188, allocations: 0 / 459.1 MB, free: 37.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.4189, allocations: 42.8 kB / 459.1 MB, free: 37.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.419, allocations: 53.97 kB / 459.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.975e-05/0.419, allocations: 92.3 kB / 459.3 MB, free: 37.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.419, allocations: 25.7 kB / 459.3 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.267e-05/0.419, allocations: 81.45 kB / 459.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.4191, allocations: 3.828 kB / 459.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.4191, allocations: 9.719 kB / 459.4 MB, free: 37.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.4191, allocations: 317.4 kB / 459.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-06/0.4192, allocations: 2.969 kB / 459.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-06/0.4192, allocations: 0.625 kB / 459.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.4192, allocations: 8.578 kB / 459.7 MB, free: 36.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4192, allocations: 0 / 459.7 MB, free: 36.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.294e-05/0.4192, allocations: 37.11 kB / 459.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.4193, allocations: 5.312 kB / 459.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4193, allocations: 0.5 kB / 459.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4193, allocations: 4.562 kB / 459.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.4194, allocations: 3.516 kB / 459.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4194, allocations: 1.125 kB / 459.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.4194, allocations: 1.25 kB / 459.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.4194, allocations: 2.594 kB / 459.8 MB, free: 36.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.4195, allocations: 114.7 kB / 459.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.4195, allocations: 0 / 459.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.4195, allocations: 11.41 kB / 459.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4195, allocations: 0 / 459.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4195, allocations: 2.469 kB / 459.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4195, allocations: 0 / 459.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.68e-05/0.4196, allocations: 149.9 kB / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.4196, allocations: 3.594 kB / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-06/0.4196, allocations: 1.406 kB / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.4196, allocations: 0.7188 kB / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4196, allocations: 7.5 kB / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4196, allocations: 2.078 kB / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4196, allocations: 0 / 460 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.602e-05/0.4197, allocations: 63.89 kB / 460.1 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.4197, allocations: 78.73 kB / 460.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.4197, allocations: 3.938 kB / 460.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.4197, allocations: 3.406 kB / 460.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.4198, allocations: 1.688 kB / 460.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.4198, allocations: 0 / 460.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.599e-05/0.4198, allocations: 76.34 kB / 460.3 MB, free: 36.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4198, allocations: 0.9844 kB / 460.3 MB, free: 36.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.42, allocations: 0 / 460.3 MB, free: 36.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.87e-05/0.4201, allocations: 96.02 kB / 460.4 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.021e-05/0.4201, allocations: 16.38 kB / 460.4 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4201, allocations: 0 / 460.4 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/0.4201, allocations: 3.156 kB / 460.4 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.4203, allocations: 0 / 460.4 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/0.4205, allocations: 83.17 kB / 460.5 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4206, allocations: 0.6692 MB / 461.1 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.4206, allocations: 3.375 kB / 461.1 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.4206, allocations: 11.38 kB / 461.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4206, allocations: 4.344 kB / 461.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of Templates: time 0.001879/0.4225, allocations: 150.1 kB / 461.3 MB, free: 35.33 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: