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.0008311/0.0008311, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008888/0.0008889, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6456/0.6456, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002627, allocations: 12 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3253, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.000601/0.3259, allocations: 318.3 kB / 0.5834 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.3262, allocations: 39.59 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.2e-05/0.3262, allocations: 0.5 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.297e-06/0.3262, allocations: 0.5938 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.3262, allocations: 4.562 kB / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3264, allocations: 23.62 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.308e-05/0.3265, allocations: 3.469 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.3265, allocations: 1.266 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.143e-05/0.3265, allocations: 0.75 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.72e-05/0.3265, allocations: 1.844 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.3266, allocations: 0.875 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.3266, allocations: 19.84 kB / 0.5835 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-06/0.3266, allocations: 4.797 kB / 0.5835 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.3267, allocations: 25.7 kB / 0.5835 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.974e-05/0.3267, allocations: 12.06 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3267, allocations: 0 / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3267, allocations: 1.969 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.425e-06/0.3267, allocations: 0 / 0.5835 GB, free: 3.68 MB / 430.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.0001539/0.3269, allocations: 307.8 kB / 0.5838 GB, free: 3.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.3269, allocations: 8.156 kB / 0.5838 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.3272, allocations: 21.31 kB / 0.5839 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.922e-05/0.3272, allocations: 168.5 kB / 0.584 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3272, allocations: 5.156 kB / 0.584 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.3272, allocations: 0 / 0.584 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.3274, allocations: 34.73 kB / 0.5841 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3274, allocations: 0.6094 kB / 0.5841 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.3274, allocations: 0 / 0.5841 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.3274, allocations: 0.7188 kB / 0.5841 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.3275, allocations: 13.81 kB / 0.5841 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.694e-05/0.3276, allocations: 152.9 kB / 0.5842 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.092e-05/0.3276, allocations: 24.44 kB / 0.5842 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.3277, allocations: 9.688 kB / 0.5842 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3277, allocations: 1.062 kB / 0.5842 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.3277, allocations: 31.27 kB / 0.5843 GB, free: 2.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3277, allocations: 4.812 kB / 0.5843 GB, free: 2.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001858/0.3279, allocations: 47.83 kB / 0.5843 GB, free: 2.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.3279, allocations: 51.41 kB / 0.5844 GB, free: 2.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.466e-05/0.328, allocations: 91.25 kB / 0.5845 GB, free: 2.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.328, allocations: 29.64 kB / 0.5845 GB, free: 2.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-06/0.328, allocations: 80.7 kB / 0.5846 GB, free: 2.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.328, allocations: 8.781 kB / 0.5846 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.328, allocations: 4.125 kB / 0.5846 GB, free: 2.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.328, allocations: 312.3 kB / 0.5849 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.3281, allocations: 8.953 kB / 0.5849 GB, free: 2.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.3281, allocations: 5.953 kB / 0.5849 GB, free: 2.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.104e-05/0.3282, allocations: 12.62 kB / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3282, allocations: 0 / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.392e-05/0.3283, allocations: 44.72 kB / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3283, allocations: 4.969 kB / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3283, allocations: 0 / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3283, allocations: 2.25 kB / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.3284, allocations: 4.203 kB / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.3284, allocations: 0 / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.3284, allocations: 1.672 kB / 0.585 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3284, allocations: 1.562 kB / 0.585 GB, free: 2.133 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.3285, allocations: 115.9 kB / 0.5851 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.3285, allocations: 0.9375 kB / 0.5851 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.3285, allocations: 4.516 kB / 0.5851 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3285, allocations: 0 / 0.5851 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3285, allocations: 5.359 kB / 0.5851 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3285, allocations: 0 / 0.5851 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.425e-05/0.3286, allocations: 157.3 kB / 0.5852 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3286, allocations: 4.984 kB / 0.5852 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.3286, allocations: 4.078 kB / 0.5852 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3286, allocations: 0.6562 kB / 0.5852 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3286, allocations: 4.594 kB / 0.5852 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3286, allocations: 1.453 kB / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3286, allocations: 0 / 0.5853 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.3288, allocations: 61.28 kB / 0.5853 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.3288, allocations: 86.47 kB / 0.5854 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.3288, allocations: 1.703 kB / 0.5854 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.701e-05/0.3288, allocations: 5.578 kB / 0.5854 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-06/0.3288, allocations: 2.047 kB / 0.5854 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3288, allocations: 0.6562 kB / 0.5854 GB, free: 1.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.679e-06/0.3289, allocations: 79.22 kB / 0.5855 GB, free: 1.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3289, allocations: 0 / 0.5855 GB, free: 1.551 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001587/0.329, allocations: 1.625 kB / 0.5855 GB, free: 1.551 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.943e-05/0.3291, allocations: 99.98 kB / 0.5856 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.3292, allocations: 15.55 kB / 0.5856 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3292, allocations: 1.375 kB / 0.5856 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.3293, allocations: 6.406 kB / 0.5856 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.3294, allocations: 5.906 kB / 0.5856 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00016/0.3296, allocations: 83.66 kB / 0.5857 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.3296, allocations: 0.6714 MB / 0.5863 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.304e-05/0.3297, allocations: 13.94 kB / 0.5863 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.3297, allocations: 9.5 kB / 0.5864 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3297, allocations: 0 / 0.5864 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of Templates: time 0.001657/0.3314, allocations: 213.2 kB / 0.5866 GB, free: 0.5898 MB / 430.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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)