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.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001239/0.001239, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 422.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.66 kB / 0.5011 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2003, allocations: 80.21 MB / 0.5794 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002439/0.2028, allocations: 0.6426 MB / 0.5801 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003849/0.2032, allocations: 55.84 kB / 0.5801 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.065e-05/0.2032, allocations: 3.938 kB / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.2032, allocations: 7.938 kB / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.2032, allocations: 0 / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.2035, allocations: 7.984 kB / 0.5801 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.723e-05/0.2036, allocations: 8 kB / 0.5801 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.2036, allocations: 0 / 0.5801 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.2036, allocations: 0 / 0.5801 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.2037, allocations: 7.938 kB / 0.5801 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2037, allocations: 0 / 0.5801 GB, free: 8.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2038, allocations: 19.97 kB / 0.5802 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2039, allocations: 0 / 0.5802 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.2039, allocations: 7.984 kB / 0.5802 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.204, allocations: 11.98 kB / 0.5802 GB, free: 8.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.204, allocations: 0 / 0.5802 GB, free: 8.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.204, allocations: 0 / 0.5802 GB, free: 8.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.204, allocations: 4 kB / 0.5802 GB, free: 8.465 MB / 494.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.0003621/0.2044, allocations: 317.2 kB / 0.5805 GB, free: 8.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2045, allocations: 8.031 kB / 0.5805 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.2048, allocations: 20.91 kB / 0.5805 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2049, allocations: 160.4 kB / 0.5807 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.2049, allocations: 384 / 0.5807 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.205, allocations: 4.375 kB / 0.5807 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.2052, allocations: 46.17 kB / 0.5807 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.2052, allocations: 192 / 0.5807 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2052, allocations: 3.938 kB / 0.5807 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2052, allocations: 0 / 0.5807 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.2053, allocations: 11.98 kB / 0.5807 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.2055, allocations: 141.7 kB / 0.5809 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2056, allocations: 30.59 kB / 0.5809 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.2057, allocations: 12.86 kB / 0.5809 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2057, allocations: 3.938 kB / 0.5809 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2058, allocations: 30.56 kB / 0.5809 GB, free: 7.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.2058, allocations: 0 / 0.5809 GB, free: 7.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003078/0.2061, allocations: 49.61 kB / 0.581 GB, free: 7.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.2062, allocations: 55.53 kB / 0.581 GB, free: 7.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.2062, allocations: 89.86 kB / 0.5811 GB, free: 7.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2062, allocations: 25.7 kB / 0.5812 GB, free: 7.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.2063, allocations: 84.14 kB / 0.5812 GB, free: 7.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.2063, allocations: 7.906 kB / 0.5812 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.2064, allocations: 13.72 kB / 0.5813 GB, free: 7.164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2065, allocations: 314.8 kB / 0.5816 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.2066, allocations: 8 kB / 0.5816 GB, free: 6.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.2066, allocations: 11.92 kB / 0.5816 GB, free: 6.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2068, allocations: 16.8 kB / 0.5816 GB, free: 6.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.2068, allocations: 3.984 kB / 0.5816 GB, free: 6.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001561/0.2069, allocations: 41.69 kB / 0.5816 GB, free: 6.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.207, allocations: 4 kB / 0.5816 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.207, allocations: 96 / 0.5816 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.207, allocations: 11.94 kB / 0.5816 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.2071, allocations: 0 / 0.5816 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2071, allocations: 0 / 0.5816 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.2072, allocations: 7.984 kB / 0.5817 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2072, allocations: 0 / 0.5817 GB, free: 6.734 MB / 494.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 8.902e-05/0.2073, allocations: 109.8 kB / 0.5818 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.2073, allocations: 0 / 0.5818 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.2073, allocations: 7.062 kB / 0.5818 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2074, allocations: 8 kB / 0.5818 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2074, allocations: 4 kB / 0.5818 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2074, allocations: 0 / 0.5818 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.2075, allocations: 145.7 kB / 0.5819 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2075, allocations: 0 / 0.5819 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.2076, allocations: 4 kB / 0.5819 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2076, allocations: 0 / 0.5819 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2076, allocations: 3.938 kB / 0.5819 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2076, allocations: 0 / 0.5819 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2076, allocations: 3.984 kB / 0.5819 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.2078, allocations: 73.06 kB / 0.582 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.2079, allocations: 81.09 kB / 0.5821 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2079, allocations: 3.938 kB / 0.5821 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.208, allocations: 7.984 kB / 0.5821 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.208, allocations: 0 / 0.5821 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.208, allocations: 0 / 0.5821 GB, free: 6.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.084e-05/0.2081, allocations: 83.25 kB / 0.5822 GB, free: 6.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2081, allocations: 0 / 0.5822 GB, free: 6.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.2083, allocations: 0 / 0.5822 GB, free: 6.109 MB / 494.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.0001492/0.2085, allocations: 99.25 kB / 0.5823 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2087, allocations: 11.98 kB / 0.5823 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2087, allocations: 0 / 0.5823 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.2088, allocations: 12.05 kB / 0.5823 GB, free: 5.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.2089, allocations: 4.281 kB / 0.5823 GB, free: 5.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.2093, allocations: 80.52 kB / 0.5824 GB, free: 5.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.2095, allocations: 0.6692 MB / 0.583 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.2096, allocations: 8.062 kB / 0.583 GB, free: 5.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.2096, allocations: 11.44 kB / 0.583 GB, free: 5.164 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2097, allocations: 3.938 kB / 0.583 GB, free: 5.16 MB / 494.1 MB Notification: Performance of Templates: time 0.002646/0.2123, allocations: 224.5 kB / 0.5833 GB, free: 4.945 MB / 494.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)