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.005214/0.005214, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001161/0.001162, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.91 kB / 0.5814 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.212, allocations: 80.2 MB / 0.6597 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001745/0.2138, allocations: 0.5835 MB / 0.6603 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.214, allocations: 43.86 kB / 0.6603 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.2141, allocations: 0 / 0.6603 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.2141, allocations: 0 / 0.6603 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.2141, allocations: 0 / 0.6603 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2144, allocations: 15.92 kB / 0.6603 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.2144, allocations: 4 kB / 0.6603 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.2145, allocations: 7.984 kB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.2145, allocations: 3.938 kB / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.362e-05/0.2145, allocations: 0 / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.2146, allocations: 0 / 0.6604 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2147, allocations: 23.98 kB / 0.6604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.2147, allocations: 3.984 kB / 0.6604 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.2147, allocations: 0 / 0.6604 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.2148, allocations: 11.98 kB / 0.6604 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2148, allocations: 0 / 0.6604 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2148, allocations: 4 kB / 0.6604 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.2148, allocations: 3.984 kB / 0.6604 GB, free: 12.72 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.0003013/0.2151, allocations: 315.6 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2152, allocations: 8.031 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.2155, allocations: 16.91 kB / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2156, allocations: 172.3 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2156, allocations: 384 / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.2156, allocations: 384 / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2157, allocations: 38.25 kB / 0.6609 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2158, allocations: 192 / 0.6609 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2158, allocations: 3.938 kB / 0.6609 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2158, allocations: 0 / 0.6609 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.2159, allocations: 11.98 kB / 0.6609 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.2161, allocations: 149.6 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.2162, allocations: 37.3 kB / 0.6611 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.2162, allocations: 8.922 kB / 0.6611 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2162, allocations: 0 / 0.6611 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2163, allocations: 30.56 kB / 0.6612 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2163, allocations: 0 / 0.6612 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002254/0.2165, allocations: 53.61 kB / 0.6612 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2165, allocations: 55.53 kB / 0.6613 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.603e-05/0.2166, allocations: 89.86 kB / 0.6614 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2166, allocations: 25.7 kB / 0.6614 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.2166, allocations: 84.08 kB / 0.6615 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.2167, allocations: 3.938 kB / 0.6615 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.2167, allocations: 17.7 kB / 0.6615 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2168, allocations: 318.8 kB / 0.6618 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.2169, allocations: 12 kB / 0.6618 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.2169, allocations: 7.984 kB / 0.6618 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.217, allocations: 12.84 kB / 0.6618 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.217, allocations: 0 / 0.6618 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001063/0.2171, allocations: 41.69 kB / 0.6619 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2171, allocations: 4 kB / 0.6619 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2171, allocations: 4.078 kB / 0.6619 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2172, allocations: 7.938 kB / 0.6619 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.2173, allocations: 7.984 kB / 0.6619 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2173, allocations: 3.938 kB / 0.6619 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.2173, allocations: 0 / 0.6619 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.2173, allocations: 4 kB / 0.6619 GB, free: 10.98 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.515e-05/0.2174, allocations: 109.8 kB / 0.662 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.2174, allocations: 0 / 0.662 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.2174, allocations: 11.06 kB / 0.662 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2174, allocations: 0 / 0.662 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2174, allocations: 0 / 0.662 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2175, allocations: 4 kB / 0.662 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.279e-05/0.2175, allocations: 145.7 kB / 0.6621 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2175, allocations: 0 / 0.6621 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.2176, allocations: 4 kB / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2176, allocations: 0 / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2176, allocations: 11.86 kB / 0.6622 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2176, allocations: 0 / 0.6622 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2176, allocations: 0 / 0.6622 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.2178, allocations: 69.12 kB / 0.6622 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2179, allocations: 81.05 kB / 0.6623 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.2179, allocations: 7.875 kB / 0.6623 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/0.2179, allocations: 3.984 kB / 0.6623 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.2179, allocations: 4 kB / 0.6623 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2179, allocations: 0 / 0.6623 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.218, allocations: 79.31 kB / 0.6624 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.218, allocations: 0 / 0.6624 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001676/0.2181, allocations: 0 / 0.6624 GB, free: 10.36 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.0001251/0.2183, allocations: 95.25 kB / 0.6625 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2184, allocations: 11.98 kB / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2184, allocations: 0 / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.2185, allocations: 16.05 kB / 0.6625 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.2186, allocations: 7.938 kB / 0.6625 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.2189, allocations: 92.77 kB / 0.6626 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2191, allocations: 0.669 MB / 0.6633 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.2192, allocations: 4.062 kB / 0.6633 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.2192, allocations: 7.438 kB / 0.6633 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2192, allocations: 4 kB / 0.6633 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.001963/0.2212, allocations: 222.9 kB / 0.6635 GB, free: 9.18 MB / 0.4981 GB 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)