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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009769/0.009769, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001888/0.001888, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3936/0.3936, allocations: 54.94 MB / 324.8 MB, free: 12 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.001602/0.001602, allocations: 75.09 kB / 456.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1588, allocations: 59.59 MB / 0.5038 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.001868/0.1607, allocations: 0.5452 MB / 0.5044 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.161, allocations: 43.95 kB / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.1611, allocations: 0 / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1611, allocations: 0 / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.1611, allocations: 0 / 0.5044 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.1614, allocations: 17.42 kB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.45e-05/0.1614, allocations: 1.375 kB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.1615, allocations: 1.375 kB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.1615, allocations: 4 kB / 0.5044 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.239e-05/0.1616, allocations: 5.359 kB / 0.5044 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1616, allocations: 0 / 0.5044 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1617, allocations: 22.98 kB / 0.5045 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.1617, allocations: 7.922 kB / 0.5045 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.1617, allocations: 1.375 kB / 0.5045 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1618, allocations: 9.484 kB / 0.5045 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1619, allocations: 0 / 0.5045 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.1619, allocations: 1.375 kB / 0.5045 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1619, allocations: 0 / 0.5045 GB, free: 9.09 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.0002663/0.1622, allocations: 322.2 kB / 0.5048 GB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1622, allocations: 9.625 kB / 0.5048 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.1625, allocations: 18.53 kB / 0.5048 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.671e-05/0.1626, allocations: 164.3 kB / 0.505 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1626, allocations: 384 / 0.505 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.1626, allocations: 1.75 kB / 0.505 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1627, allocations: 41.73 kB / 0.505 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1628, allocations: 7.938 kB / 0.505 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1628, allocations: 0 / 0.505 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1628, allocations: 1.375 kB / 0.505 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.1629, allocations: 9.484 kB / 0.505 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.163, allocations: 147.1 kB / 0.5052 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.1631, allocations: 30.61 kB / 0.5052 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.1631, allocations: 11.61 kB / 0.5052 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1632, allocations: 3.938 kB / 0.5052 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.1632, allocations: 31.94 kB / 0.5053 GB, free: 8.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1632, allocations: 0 / 0.5053 GB, free: 8.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002452/0.1634, allocations: 52.62 kB / 0.5053 GB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.1635, allocations: 52.78 kB / 0.5054 GB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.986e-05/0.1635, allocations: 93.98 kB / 0.5054 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.1635, allocations: 29.64 kB / 0.5055 GB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.554e-05/0.1635, allocations: 80.14 kB / 0.5055 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1636, allocations: 5.312 kB / 0.5056 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1636, allocations: 11.09 kB / 0.5056 GB, free: 7.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.307e-05/0.1637, allocations: 320.2 kB / 0.5059 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.1637, allocations: 2.75 kB / 0.5059 GB, free: 7.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.1638, allocations: 6.734 kB / 0.5059 GB, free: 7.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.833e-05/0.1638, allocations: 19.78 kB / 0.5059 GB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1639, allocations: 0 / 0.5059 GB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.164, allocations: 43.25 kB / 0.5059 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.164, allocations: 5.5 kB / 0.5059 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.164, allocations: 0 / 0.5059 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.164, allocations: 1.375 kB / 0.5059 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.1641, allocations: 6.781 kB / 0.5059 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1641, allocations: 3.938 kB / 0.506 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.1641, allocations: 5.359 kB / 0.506 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1642, allocations: 1.375 kB / 0.506 GB, free: 7.449 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 4.455e-05/0.1642, allocations: 107.2 kB / 0.5061 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.1642, allocations: 7.938 kB / 0.5061 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.1643, allocations: 3.125 kB / 0.5061 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1643, allocations: 1.375 kB / 0.5061 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1643, allocations: 4 kB / 0.5061 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1643, allocations: 0 / 0.5061 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.147e-05/0.1643, allocations: 147 kB / 0.5062 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1643, allocations: 1.375 kB / 0.5062 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.1644, allocations: 6.688 kB / 0.5062 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1644, allocations: 0 / 0.5062 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1644, allocations: 4 kB / 0.5062 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1644, allocations: 5.359 kB / 0.5062 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1644, allocations: 3.938 kB / 0.5062 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1645, allocations: 66.75 kB / 0.5063 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.1646, allocations: 82.42 kB / 0.5064 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1646, allocations: 3.938 kB / 0.5064 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.1646, allocations: 5.359 kB / 0.5064 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.1646, allocations: 1.375 kB / 0.5064 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1646, allocations: 0 / 0.5064 GB, free: 6.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.59e-05/0.1647, allocations: 80.59 kB / 0.5065 GB, free: 6.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1647, allocations: 4.031 kB / 0.5065 GB, free: 6.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001693/0.1649, allocations: 1.375 kB / 0.5065 GB, free: 6.852 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 9.762e-05/0.165, allocations: 94.38 kB / 0.5066 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1651, allocations: 10.86 kB / 0.5066 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1651, allocations: 1.375 kB / 0.5066 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.1652, allocations: 8.109 kB / 0.5066 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1653, allocations: 9.5 kB / 0.5066 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.1655, allocations: 93.14 kB / 0.5067 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.1657, allocations: 0.6703 MB / 0.5073 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.1657, allocations: 1.375 kB / 0.5073 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1657, allocations: 7.438 kB / 0.5073 GB, free: 5.934 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1657, allocations: 5.375 kB / 0.5073 GB, free: 5.93 MB / 382.1 MB Notification: Performance of Templates: time 0.002004/0.1677, allocations: 229.6 kB / 0.5076 GB, free: 5.805 MB / 382.1 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)