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.001496/0.001496, allocations: 104.8 kB / 16.36 MB, free: 5.875 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.001749/0.001749, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.328/1.328, 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.8021/0.8021, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3383, allocations: 80.19 MB / 0.5815 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001544/0.3398, allocations: 0.5773 MB / 0.5821 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.3401, allocations: 54.41 kB / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.3401, allocations: 1.5 kB / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.3401, allocations: 0 / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.3401, allocations: 1.688 kB / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3403, allocations: 8.797 kB / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.513e-05/0.3404, allocations: 1.281 kB / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.3404, allocations: 1.125 kB / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.3405, allocations: 6 kB / 0.5821 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.821e-05/0.3405, allocations: 1.125 kB / 0.5821 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.3405, allocations: 6.906 kB / 0.5821 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.3406, allocations: 26.36 kB / 0.5822 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.3406, allocations: 0 / 0.5822 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.432e-05/0.3406, allocations: 5 kB / 0.5822 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.155e-05/0.3407, allocations: 14.42 kB / 0.5822 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3407, allocations: 0 / 0.5822 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3407, allocations: 0 / 0.5822 GB, free: 27.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.3407, allocations: 0 / 0.5822 GB, free: 27.33 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.0001818/0.3409, allocations: 313.4 kB / 0.5825 GB, free: 26.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3409, allocations: 13.3 kB / 0.5825 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.3412, allocations: 17.75 kB / 0.5825 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.769e-05/0.3412, allocations: 166.7 kB / 0.5827 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3413, allocations: 384 / 0.5827 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3413, allocations: 1.469 kB / 0.5827 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3414, allocations: 35.81 kB / 0.5827 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3414, allocations: 192 / 0.5827 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3414, allocations: 4.531 kB / 0.5827 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3414, allocations: 1.469 kB / 0.5827 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.3415, allocations: 17.7 kB / 0.5827 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.376e-05/0.3416, allocations: 148.2 kB / 0.5829 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.3417, allocations: 18.89 kB / 0.5829 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.3417, allocations: 15 kB / 0.5829 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3417, allocations: 0 / 0.5829 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.3418, allocations: 35.72 kB / 0.5829 GB, free: 26.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3418, allocations: 0 / 0.5829 GB, free: 26.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002009/0.342, allocations: 49.84 kB / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.342, allocations: 57.45 kB / 0.583 GB, free: 26.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.333e-05/0.342, allocations: 90.73 kB / 0.5831 GB, free: 26.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.342, allocations: 29.64 kB / 0.5832 GB, free: 26.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-06/0.342, allocations: 81.3 kB / 0.5832 GB, free: 26.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3421, allocations: 5.031 kB / 0.5832 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.3421, allocations: 13.72 kB / 0.5833 GB, free: 26.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.371e-05/0.3421, allocations: 314.8 kB / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.46e-05/0.3422, allocations: 15.61 kB / 0.5836 GB, free: 25.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.3422, allocations: 3.188 kB / 0.5836 GB, free: 25.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.3423, allocations: 18.16 kB / 0.5836 GB, free: 25.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3423, allocations: 0 / 0.5836 GB, free: 25.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001062/0.3424, allocations: 43.84 kB / 0.5836 GB, free: 25.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3425, allocations: 5.531 kB / 0.5836 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.3425, allocations: 1.531 kB / 0.5836 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.3425, allocations: 5 kB / 0.5836 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.3426, allocations: 6.453 kB / 0.5837 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3426, allocations: 0 / 0.5837 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.3426, allocations: 5.031 kB / 0.5837 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3426, allocations: 0 / 0.5837 GB, free: 25.72 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.156e-05/0.3427, allocations: 111.2 kB / 0.5838 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.3427, allocations: 3.984 kB / 0.5838 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.3427, allocations: 9.156 kB / 0.5838 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3427, allocations: 1.438 kB / 0.5838 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3427, allocations: 0 / 0.5838 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3427, allocations: 1.375 kB / 0.5838 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.185e-05/0.3428, allocations: 143.1 kB / 0.5839 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3428, allocations: 0.625 kB / 0.5839 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.3428, allocations: 7.266 kB / 0.5839 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3428, allocations: 0 / 0.5839 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3428, allocations: 7.781 kB / 0.5839 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3429, allocations: 0 / 0.5839 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3429, allocations: 0 / 0.5839 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.343, allocations: 71.36 kB / 0.584 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.343, allocations: 80.48 kB / 0.5841 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.343, allocations: 3.938 kB / 0.5841 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.3431, allocations: 2.438 kB / 0.5841 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-06/0.3431, allocations: 0 / 0.5841 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3431, allocations: 2.062 kB / 0.5841 GB, free: 25.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.008e-05/0.3431, allocations: 75.28 kB / 0.5842 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3431, allocations: 0.625 kB / 0.5842 GB, free: 25.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.3433, allocations: 1.344 kB / 0.5842 GB, free: 25.14 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 7.856e-05/0.3434, allocations: 102 kB / 0.5843 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3435, allocations: 15.05 kB / 0.5843 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3435, allocations: 7.906 kB / 0.5843 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.3436, allocations: 12.16 kB / 0.5843 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.3437, allocations: 4.062 kB / 0.5843 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001798/0.3439, allocations: 81.47 kB / 0.5844 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.633e-05/0.344, allocations: 0.6729 MB / 0.585 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.764e-05/0.344, allocations: 7.922 kB / 0.585 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.344, allocations: 12.09 kB / 0.585 GB, free: 24.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.344, allocations: 0 / 0.585 GB, free: 24.23 MB / 446.1 MB Notification: Performance of Templates: time 0.001739/0.3458, allocations: 222.6 kB / 0.5853 GB, free: 24.12 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)