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.008804/0.008804, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001951/0.001951, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.391/0.391, allocations: 54.94 MB / 324.8 MB, free: 48 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.001493/0.001493, allocations: 66.03 kB / 456.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1532, allocations: 59.58 MB / 0.5038 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.002012/0.1553, allocations: 0.5478 MB / 0.5044 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002858/0.1556, allocations: 56 kB / 0.5044 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.1556, allocations: 0 / 0.5044 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.1557, allocations: 0 / 0.5044 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.1557, allocations: 0 / 0.5044 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1559, allocations: 16.81 kB / 0.5044 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.156, allocations: 5.609 kB / 0.5044 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.156, allocations: 1.656 kB / 0.5044 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.494e-05/0.1561, allocations: 0 / 0.5044 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.544e-05/0.1561, allocations: 1.812 kB / 0.5044 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1561, allocations: 0 / 0.5044 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1562, allocations: 22.7 kB / 0.5045 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.1563, allocations: 3.984 kB / 0.5045 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.1563, allocations: 0 / 0.5045 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.1564, allocations: 18.56 kB / 0.5045 GB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1564, allocations: 4 kB / 0.5045 GB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1564, allocations: 1.812 kB / 0.5045 GB, free: 8.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1564, allocations: 0 / 0.5045 GB, free: 8.973 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.0002684/0.1567, allocations: 315.9 kB / 0.5048 GB, free: 8.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1567, allocations: 9.656 kB / 0.5048 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.157, allocations: 15.78 kB / 0.5048 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.14e-05/0.1571, allocations: 164.4 kB / 0.505 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1571, allocations: 1.75 kB / 0.505 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-06/0.1571, allocations: 4.375 kB / 0.505 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1572, allocations: 37.75 kB / 0.505 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1572, allocations: 1.375 kB / 0.505 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1573, allocations: 0 / 0.505 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1573, allocations: 0 / 0.505 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.1573, allocations: 13.42 kB / 0.505 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.1575, allocations: 147.1 kB / 0.5052 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.1576, allocations: 30.67 kB / 0.5052 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.1576, allocations: 7.609 kB / 0.5052 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.1576, allocations: 5.312 kB / 0.5052 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1577, allocations: 35.92 kB / 0.5052 GB, free: 8.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1577, allocations: 3.938 kB / 0.5052 GB, free: 8.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002457/0.1579, allocations: 52.62 kB / 0.5053 GB, free: 8.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.158, allocations: 51.41 kB / 0.5053 GB, free: 7.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.725e-05/0.158, allocations: 89.86 kB / 0.5054 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.158, allocations: 27.08 kB / 0.5055 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.347e-05/0.158, allocations: 80.14 kB / 0.5055 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1581, allocations: 3.984 kB / 0.5055 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.1581, allocations: 12.47 kB / 0.5055 GB, free: 7.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.1582, allocations: 319 kB / 0.5058 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.1582, allocations: 4.125 kB / 0.5059 GB, free: 7.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.1583, allocations: 6.734 kB / 0.5059 GB, free: 7.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.1583, allocations: 19.66 kB / 0.5059 GB, free: 7.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1583, allocations: 0 / 0.5059 GB, free: 7.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001121/0.1585, allocations: 47.19 kB / 0.5059 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1585, allocations: 9.594 kB / 0.5059 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1585, allocations: 0 / 0.5059 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1585, allocations: 0 / 0.5059 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.1586, allocations: 6.734 kB / 0.5059 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1586, allocations: 1.375 kB / 0.5059 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.1587, allocations: 5.375 kB / 0.5059 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1587, allocations: 0 / 0.5059 GB, free: 7.344 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.386e-05/0.1587, allocations: 107.2 kB / 0.506 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.1587, allocations: 13.22 kB / 0.5061 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.1588, allocations: 7.125 kB / 0.5061 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1588, allocations: 3.984 kB / 0.5061 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1588, allocations: 1.375 kB / 0.5061 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1588, allocations: 0 / 0.5061 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.186e-05/0.1589, allocations: 143.1 kB / 0.5062 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1589, allocations: 0 / 0.5062 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.1589, allocations: 10.67 kB / 0.5062 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1589, allocations: 0 / 0.5062 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1589, allocations: 1.375 kB / 0.5062 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1589, allocations: 4 kB / 0.5062 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1589, allocations: 3.938 kB / 0.5062 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.1591, allocations: 64.12 kB / 0.5063 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.1591, allocations: 85.03 kB / 0.5064 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1591, allocations: 1.375 kB / 0.5064 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.1592, allocations: 1.375 kB / 0.5064 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1592, allocations: 4.031 kB / 0.5064 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1592, allocations: 1.375 kB / 0.5064 GB, free: 6.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.097e-05/0.1592, allocations: 75.28 kB / 0.5064 GB, free: 6.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1592, allocations: 0 / 0.5064 GB, free: 6.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.1594, allocations: 5.312 kB / 0.5065 GB, free: 6.75 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.467e-05/0.1595, allocations: 94.38 kB / 0.5065 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.1597, allocations: 16.17 kB / 0.5066 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1597, allocations: 4.062 kB / 0.5066 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.1598, allocations: 8.109 kB / 0.5066 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1599, allocations: 13.25 kB / 0.5066 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.1602, allocations: 87.97 kB / 0.5067 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1603, allocations: 0.6703 MB / 0.5073 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.207e-05/0.1603, allocations: 5.438 kB / 0.5073 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.1604, allocations: 12.8 kB / 0.5073 GB, free: 5.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1604, allocations: 0 / 0.5073 GB, free: 5.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002365/0.1627, allocations: 226.9 kB / 0.5076 GB, free: 5.695 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)