Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001117/0.001117, allocations: 101.3 kB / 16.37 MB, free: 6.469 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.001002/0.001002, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8328/0.8328, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3797, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001714/0.3814, allocations: 0.5709 MB / 0.5821 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002174/0.3816, allocations: 53.62 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.3817, allocations: 3.25 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.908e-06/0.3817, allocations: 0 / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.94e-06/0.3817, allocations: 0 / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.3819, allocations: 21.25 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.342e-05/0.382, allocations: 1.031 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.382, allocations: 0.9688 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.382, allocations: 2.062 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.839e-05/0.3821, allocations: 1.125 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.3821, allocations: 0.8125 kB / 0.5821 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.379e-05/0.3822, allocations: 22.19 kB / 0.5822 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.3822, allocations: 1.906 kB / 0.5822 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.3822, allocations: 7.938 kB / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.309e-05/0.3823, allocations: 15.16 kB / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3823, allocations: 1.406 kB / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3823, allocations: 0 / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3823, allocations: 0 / 0.5822 GB, free: 27.05 MB / 446.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.0002035/0.3825, allocations: 320.3 kB / 0.5825 GB, free: 26.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3826, allocations: 10.91 kB / 0.5825 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.3828, allocations: 17.88 kB / 0.5825 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.196e-05/0.3829, allocations: 161.3 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3829, allocations: 5.5 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.3829, allocations: 1.281 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.383, allocations: 41.09 kB / 0.5827 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.383, allocations: 192 / 0.5827 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3831, allocations: 3.938 kB / 0.5827 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3831, allocations: 1.25 kB / 0.5827 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.3831, allocations: 13.73 kB / 0.5827 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.501e-05/0.3832, allocations: 151.4 kB / 0.5829 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.254e-05/0.3833, allocations: 18.86 kB / 0.5829 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.3834, allocations: 13.72 kB / 0.5829 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.3834, allocations: 5.062 kB / 0.5829 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.3834, allocations: 36.23 kB / 0.583 GB, free: 26.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3834, allocations: 1.438 kB / 0.583 GB, free: 26.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002063/0.3836, allocations: 51.95 kB / 0.583 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.3837, allocations: 53.56 kB / 0.5831 GB, free: 26.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.985e-05/0.3837, allocations: 89.86 kB / 0.5831 GB, free: 25.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.3837, allocations: 27.8 kB / 0.5832 GB, free: 25.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.03e-05/0.3837, allocations: 80.14 kB / 0.5833 GB, free: 25.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.3837, allocations: 6.594 kB / 0.5833 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.3838, allocations: 10.84 kB / 0.5833 GB, free: 25.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.3838, allocations: 312.2 kB / 0.5836 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.3839, allocations: 13.23 kB / 0.5836 GB, free: 25.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.3839, allocations: 6.844 kB / 0.5836 GB, free: 25.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.384, allocations: 20.88 kB / 0.5836 GB, free: 25.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.384, allocations: 0 / 0.5836 GB, free: 25.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.3841, allocations: 40.88 kB / 0.5836 GB, free: 25.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3841, allocations: 5.031 kB / 0.5836 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3841, allocations: 0 / 0.5836 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3842, allocations: 8.953 kB / 0.5837 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3842, allocations: 4.062 kB / 0.5837 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3842, allocations: 0.5938 kB / 0.5837 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.3843, allocations: 1.594 kB / 0.5837 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3843, allocations: 0.875 kB / 0.5837 GB, free: 25.43 MB / 446.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.519e-05/0.3843, allocations: 113.2 kB / 0.5838 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.3844, allocations: 1.156 kB / 0.5838 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.3844, allocations: 11 kB / 0.5838 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3844, allocations: 1.562 kB / 0.5838 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3844, allocations: 2 kB / 0.5838 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3844, allocations: 0 / 0.5838 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.657e-05/0.3845, allocations: 147.1 kB / 0.5839 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3845, allocations: 0 / 0.5839 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.3845, allocations: 6.453 kB / 0.5839 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3845, allocations: 2.375 kB / 0.5839 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3845, allocations: 3.938 kB / 0.5839 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3846, allocations: 0.7812 kB / 0.5839 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3846, allocations: 1.281 kB / 0.5839 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3847, allocations: 69.08 kB / 0.584 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.3847, allocations: 78.64 kB / 0.5841 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3847, allocations: 11.88 kB / 0.5841 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.821e-05/0.3848, allocations: 3.469 kB / 0.5841 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.3848, allocations: 1.375 kB / 0.5841 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.3848, allocations: 0 / 0.5841 GB, free: 24.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.712e-05/0.3848, allocations: 77.03 kB / 0.5842 GB, free: 24.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3848, allocations: 3.938 kB / 0.5842 GB, free: 24.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001735/0.385, allocations: 3.812 kB / 0.5842 GB, free: 24.84 MB / 446.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 0.0001124/0.3851, allocations: 99.05 kB / 0.5843 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.3853, allocations: 12.83 kB / 0.5843 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3853, allocations: 3.938 kB / 0.5843 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.3853, allocations: 4.688 kB / 0.5843 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3854, allocations: 1.125 kB / 0.5843 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.3856, allocations: 89 kB / 0.5844 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.564e-05/0.3858, allocations: 0.6743 MB / 0.585 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.3858, allocations: 1.406 kB / 0.585 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.3858, allocations: 9 kB / 0.585 GB, free: 23.94 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3858, allocations: 1.531 kB / 0.5851 GB, free: 23.94 MB / 446.1 MB Notification: Performance of Templates: time 0.001925/0.3877, allocations: 220.8 kB / 0.5853 GB, free: 23.84 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)