Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.009971/0.009971, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001716/0.001716, allocations: 191.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7958/0.7958, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.03 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 80.93 MB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001612/0.1597, allocations: 0.5565 MB / 0.6652 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.16, allocations: 50.38 kB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.48e-05/0.16, allocations: 0 / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.16, allocations: 4 kB / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.16, allocations: 0 / 0.6653 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1603, allocations: 15.92 kB / 0.6653 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.857e-05/0.1603, allocations: 4 kB / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1604, allocations: 3.984 kB / 0.6653 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.235e-05/0.1604, allocations: 11.88 kB / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.07e-05/0.1604, allocations: 0 / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1604, allocations: 4 kB / 0.6653 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.1605, allocations: 19.98 kB / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.1606, allocations: 0 / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.1606, allocations: 3.984 kB / 0.6653 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.425e-05/0.1607, allocations: 11.98 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1607, allocations: 3.984 kB / 0.6654 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1607, allocations: 4 kB / 0.6654 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.1607, allocations: 0 / 0.6654 GB, free: 5.059 MB / 0.4981 GB 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.0002787/0.161, allocations: 315.5 kB / 0.6657 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.161, allocations: 9.109 kB / 0.6657 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1612, allocations: 24.91 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.1613, allocations: 164.4 kB / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1613, allocations: 384 / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1614, allocations: 4.375 kB / 0.6659 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1615, allocations: 38.25 kB / 0.6659 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1615, allocations: 4.125 kB / 0.6659 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1615, allocations: 3.938 kB / 0.6659 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1615, allocations: 4 kB / 0.6659 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.1616, allocations: 11.97 kB / 0.6659 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1617, allocations: 149.7 kB / 0.6661 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.1618, allocations: 18.97 kB / 0.6661 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.1619, allocations: 12.86 kB / 0.6661 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1619, allocations: 0 / 0.6661 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1619, allocations: 38.56 kB / 0.6661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1619, allocations: 0 / 0.6661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000234/0.1622, allocations: 53.55 kB / 0.6662 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.1622, allocations: 51.41 kB / 0.6662 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.744e-05/0.1623, allocations: 89.86 kB / 0.6663 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1623, allocations: 25.7 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.1623, allocations: 84.27 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1624, allocations: 0 / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1624, allocations: 21.7 kB / 0.6664 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1625, allocations: 314.8 kB / 0.6667 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.1626, allocations: 4 kB / 0.6667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.1626, allocations: 3.984 kB / 0.6667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.581e-05/0.1627, allocations: 24.84 kB / 0.6668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1627, allocations: 0 / 0.6668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001284/0.1628, allocations: 37.69 kB / 0.6668 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1629, allocations: 8 kB / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1629, allocations: 0 / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1629, allocations: 7.875 kB / 0.6668 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.163, allocations: 11.98 kB / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.163, allocations: 0 / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.163, allocations: 4.031 kB / 0.6668 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.163, allocations: 0 / 0.6668 GB, free: 3.324 MB / 0.4981 GB 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 6.589e-05/0.1631, allocations: 109.8 kB / 0.6669 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1631, allocations: 0 / 0.6669 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.1632, allocations: 7.062 kB / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1632, allocations: 0 / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1632, allocations: 0 / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1632, allocations: 0 / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.1633, allocations: 149.7 kB / 0.6671 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1633, allocations: 4 kB / 0.6671 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.1633, allocations: 0 / 0.6671 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1633, allocations: 7.922 kB / 0.6671 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1633, allocations: 11.88 kB / 0.6671 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1634, allocations: 0 / 0.6671 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.1634, allocations: 4 kB / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1635, allocations: 65.12 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1635, allocations: 81.05 kB / 0.6673 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1636, allocations: 7.938 kB / 0.6673 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.391e-05/0.1636, allocations: 3.984 kB / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.1636, allocations: 0 / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1636, allocations: 0 / 0.6673 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.1637, allocations: 75.28 kB / 0.6673 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1637, allocations: 4 kB / 0.6673 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001722/0.1638, allocations: 0 / 0.6673 GB, free: 2.703 MB / 0.4981 GB 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 0.000111/0.1639, allocations: 104.6 kB / 0.6674 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.1641, allocations: 15.92 kB / 0.6675 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1641, allocations: 0 / 0.6675 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.492e-05/0.1641, allocations: 7.984 kB / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1643, allocations: 2.422 kB / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.1645, allocations: 92.95 kB / 0.6676 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.1647, allocations: 0.6729 MB / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.919e-05/0.1648, allocations: 0 / 0.6682 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1648, allocations: 7.438 kB / 0.6682 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1648, allocations: 0 / 0.6682 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of Templates: time 0.001754/0.1665, allocations: 231.1 kB / 0.6684 GB, free: 1.52 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)