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.009268/0.009268, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001331/0.001331, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.547/1.547, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4538/0.4538, allocations: 54.94 MB / 324.9 MB, free: 4 kB / 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.001483/0.001483, allocations: 75.75 kB / 456.3 MB, free: 38.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1391, allocations: 59.58 MB / 0.5037 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Time.Examples.ModelTime): time 0.002007/0.1412, allocations: 0.6018 MB / 0.5043 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.352e-05/0.1412, allocations: 4 kB / 0.5043 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.1413, allocations: 1.375 kB / 0.5043 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.1413, allocations: 0 / 0.5043 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.406e-06/0.1414, allocations: 3.938 kB / 0.5043 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.517e-05/0.1414, allocations: 4 kB / 0.5043 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.1415, allocations: 1.375 kB / 0.5043 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.1415, allocations: 5.359 kB / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.1416, allocations: 1.375 kB / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.921e-05/0.1416, allocations: 0 / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1416, allocations: 0 / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-06/0.1416, allocations: 0 / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1416, allocations: 1.375 kB / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1416, allocations: 0 / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.434e-05/0.1417, allocations: 7.984 kB / 0.5044 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1417, allocations: 5.312 kB / 0.5044 GB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1417, allocations: 4 kB / 0.5044 GB, free: 9.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1418, allocations: 0 / 0.5044 GB, free: 9.137 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.0002512/0.142, allocations: 310.2 kB / 0.5047 GB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1421, allocations: 9.5 kB / 0.5047 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.1421, allocations: 2.25 kB / 0.5047 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.636e-05/0.1422, allocations: 164.4 kB / 0.5048 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1422, allocations: 384 / 0.5048 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1422, allocations: 1.688 kB / 0.5048 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.1423, allocations: 31.61 kB / 0.5049 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1423, allocations: 4.125 kB / 0.5049 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1423, allocations: 3.938 kB / 0.5049 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1423, allocations: 1.344 kB / 0.5049 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.1423, allocations: 5.375 kB / 0.5049 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.434e-05/0.1424, allocations: 143 kB / 0.505 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.802e-05/0.1425, allocations: 19.86 kB / 0.505 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.1425, allocations: 6.859 kB / 0.505 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.1425, allocations: 9.922 kB / 0.5051 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.1425, allocations: 34.56 kB / 0.5051 GB, free: 8.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1425, allocations: 0 / 0.5051 GB, free: 8.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.1427, allocations: 42.84 kB / 0.5051 GB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.1427, allocations: 51.41 kB / 0.5052 GB, free: 8.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.903e-05/0.1427, allocations: 89.86 kB / 0.5053 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1428, allocations: 31.14 kB / 0.5053 GB, free: 8.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.1428, allocations: 84.27 kB / 0.5054 GB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1428, allocations: 0 / 0.5054 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.1428, allocations: 15.28 kB / 0.5054 GB, free: 7.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.1429, allocations: 312.5 kB / 0.5057 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.1429, allocations: 3.984 kB / 0.5057 GB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-06/0.1429, allocations: 1.312 kB / 0.5057 GB, free: 7.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.409e-05/0.1429, allocations: 7.922 kB / 0.5057 GB, free: 7.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1429, allocations: 0 / 0.5057 GB, free: 7.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.587e-05/0.143, allocations: 43.23 kB / 0.5057 GB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.143, allocations: 4.594 kB / 0.5057 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.143, allocations: 1.156 kB / 0.5057 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.143, allocations: 3.938 kB / 0.5057 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.1431, allocations: 5.25 kB / 0.5058 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1431, allocations: 1.219 kB / 0.5058 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.1431, allocations: 0 / 0.5058 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1431, allocations: 1 kB / 0.5058 GB, free: 7.547 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.077e-05/0.1432, allocations: 110.9 kB / 0.5059 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-06/0.1432, allocations: 4 kB / 0.5059 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.1432, allocations: 7.844 kB / 0.5059 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1432, allocations: 0.9062 kB / 0.5059 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1433, allocations: 0 / 0.5059 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1433, allocations: 1.219 kB / 0.5059 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.41e-05/0.1433, allocations: 145.6 kB / 0.506 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1433, allocations: 1.25 kB / 0.506 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.1434, allocations: 9.25 kB / 0.506 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1434, allocations: 0 / 0.506 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1434, allocations: 4.844 kB / 0.506 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1434, allocations: 4 kB / 0.506 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1434, allocations: 1.156 kB / 0.506 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.509e-05/0.1434, allocations: 58.14 kB / 0.5061 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.1435, allocations: 78.73 kB / 0.5062 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1435, allocations: 7.922 kB / 0.5062 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-06/0.1435, allocations: 0 / 0.5062 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.1435, allocations: 1.406 kB / 0.5062 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.1435, allocations: 4.031 kB / 0.5062 GB, free: 7.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.016e-05/0.1436, allocations: 76.69 kB / 0.5062 GB, free: 6.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1436, allocations: 0 / 0.5062 GB, free: 6.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.1438, allocations: 0 / 0.5062 GB, free: 6.961 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 8.26e-05/0.1439, allocations: 96.03 kB / 0.5063 GB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.144, allocations: 4.219 kB / 0.5063 GB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.144, allocations: 0 / 0.5063 GB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.144, allocations: 10.22 kB / 0.5064 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1441, allocations: 5.781 kB / 0.5064 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.1443, allocations: 81.66 kB / 0.5064 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.1445, allocations: 0.67 MB / 0.5071 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.228e-05/0.1445, allocations: 0 / 0.5071 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.1445, allocations: 8.312 kB / 0.5071 GB, free: 6.051 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1445, allocations: 0 / 0.5071 GB, free: 6.051 MB / 382.1 MB Notification: Performance of Templates: time 0.002075/0.1466, allocations: 169.5 kB / 0.5073 GB, free: 5.957 MB / 382.1 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)