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.001018/0.001018, allocations: 101.3 kB / 16.35 MB, free: 5.824 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.001224/0.001224, allocations: 192 kB / 17.29 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.785/0.785, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 59.91 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.349, allocations: 80.91 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001931/0.3509, allocations: 0.5725 MB / 0.5863 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.3512, allocations: 47.89 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.3513, allocations: 0 / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.3513, allocations: 4.594 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.3513, allocations: 0 / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3516, allocations: 14.05 kB / 0.5864 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.125e-05/0.3516, allocations: 5.312 kB / 0.5864 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3517, allocations: 7.047 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.354e-05/0.3517, allocations: 1.156 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.033e-05/0.3517, allocations: 0 / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.3517, allocations: 1.438 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3518, allocations: 18.83 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.3519, allocations: 1.406 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.3519, allocations: 9.266 kB / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.352, allocations: 13.39 kB / 0.5864 GB, free: 25.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.352, allocations: 3.938 kB / 0.5864 GB, free: 25.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.352, allocations: 3.812 kB / 0.5865 GB, free: 25.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.352, allocations: 0 / 0.5865 GB, free: 25.03 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.0002378/0.3523, allocations: 314.9 kB / 0.5868 GB, free: 24.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3523, allocations: 9.766 kB / 0.5868 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/0.3526, allocations: 19.31 kB / 0.5868 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.897e-05/0.3527, allocations: 161.6 kB / 0.5869 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3527, allocations: 9.266 kB / 0.5869 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3527, allocations: 5.859 kB / 0.587 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3529, allocations: 35.34 kB / 0.587 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3529, allocations: 192 / 0.587 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3529, allocations: 3.938 kB / 0.587 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3529, allocations: 0.5938 kB / 0.587 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.353, allocations: 11.61 kB / 0.587 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.3531, allocations: 144.8 kB / 0.5871 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/0.3532, allocations: 29.53 kB / 0.5872 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.3532, allocations: 8.359 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3532, allocations: 3.094 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.3533, allocations: 30.56 kB / 0.5872 GB, free: 24.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3533, allocations: 1.188 kB / 0.5872 GB, free: 24.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002135/0.3535, allocations: 53.73 kB / 0.5873 GB, free: 24.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3535, allocations: 52.53 kB / 0.5873 GB, free: 24.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.627e-05/0.3536, allocations: 90.89 kB / 0.5874 GB, free: 23.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.3536, allocations: 25.7 kB / 0.5874 GB, free: 23.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.015e-05/0.3536, allocations: 82.3 kB / 0.5875 GB, free: 23.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3536, allocations: 7.906 kB / 0.5875 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.3536, allocations: 21.05 kB / 0.5875 GB, free: 23.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.3537, allocations: 310.8 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.3537, allocations: 6 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.3538, allocations: 6.078 kB / 0.5878 GB, free: 23.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.792e-05/0.3539, allocations: 17.66 kB / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3539, allocations: 0 / 0.5879 GB, free: 23.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.354, allocations: 48.81 kB / 0.5879 GB, free: 23.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.354, allocations: 8.5 kB / 0.5879 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.354, allocations: 0 / 0.5879 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.354, allocations: 6.969 kB / 0.5879 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.3541, allocations: 2.812 kB / 0.5879 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3541, allocations: 3.984 kB / 0.5879 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.3542, allocations: 1.312 kB / 0.5879 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3542, allocations: 6.828 kB / 0.5879 GB, free: 23.41 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 5.254e-05/0.3542, allocations: 107.7 kB / 0.588 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.3542, allocations: 2.5 kB / 0.588 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.3543, allocations: 7.062 kB / 0.588 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3543, allocations: 1.062 kB / 0.588 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3543, allocations: 0.9375 kB / 0.588 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3543, allocations: 0 / 0.588 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.217e-05/0.3544, allocations: 147.5 kB / 0.5882 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3544, allocations: 5.188 kB / 0.5882 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.3544, allocations: 4.031 kB / 0.5882 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3544, allocations: 0 / 0.5882 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3544, allocations: 9.359 kB / 0.5882 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3544, allocations: 0 / 0.5882 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3544, allocations: 1.156 kB / 0.5882 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.3546, allocations: 71.38 kB / 0.5883 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.3546, allocations: 77.11 kB / 0.5883 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3546, allocations: 5.344 kB / 0.5883 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.3546, allocations: 5.359 kB / 0.5884 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.3547, allocations: 0 / 0.5884 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3547, allocations: 1.469 kB / 0.5884 GB, free: 22.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.115e-05/0.3547, allocations: 75.78 kB / 0.5884 GB, free: 22.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3547, allocations: 0.5625 kB / 0.5884 GB, free: 22.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001771/0.3549, allocations: 5.406 kB / 0.5884 GB, free: 22.83 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 9.529e-05/0.355, allocations: 101.5 kB / 0.5885 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.3551, allocations: 12.83 kB / 0.5885 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3551, allocations: 2.375 kB / 0.5885 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.3552, allocations: 11.83 kB / 0.5886 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.3553, allocations: 1.156 kB / 0.5886 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.3555, allocations: 90.42 kB / 0.5886 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.351e-05/0.3556, allocations: 0.6706 MB / 0.5893 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.841e-05/0.3556, allocations: 4.953 kB / 0.5893 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.3557, allocations: 9.469 kB / 0.5893 GB, free: 21.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3557, allocations: 0 / 0.5893 GB, free: 21.93 MB / 446.1 MB Notification: Performance of Templates: time 0.001899/0.3576, allocations: 231.7 kB / 0.5895 GB, free: 21.81 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)