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.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 198 kB / 16.54 MB, free: 6.672 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7308/0.7308, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 60 kB / 0.5018 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4232, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001568/0.4248, allocations: 0.575 MB / 0.5807 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.4251, allocations: 53.73 kB / 0.5807 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.4251, allocations: 0 / 0.5807 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.4251, allocations: 0 / 0.5807 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.4251, allocations: 1.094 kB / 0.5807 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.4254, allocations: 23.33 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.134e-05/0.4254, allocations: 2.25 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.4255, allocations: 2.219 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.4255, allocations: 5.25 kB / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.052e-05/0.4255, allocations: 0.7812 kB / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.4255, allocations: 0 / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4257, allocations: 20.31 kB / 0.5808 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.4257, allocations: 1.75 kB / 0.5808 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.4257, allocations: 4.641 kB / 0.5808 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.616e-05/0.4258, allocations: 18.14 kB / 0.5808 GB, free: 4.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4258, allocations: 0.6875 kB / 0.5808 GB, free: 4.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4258, allocations: 4 kB / 0.5808 GB, free: 4.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.4258, allocations: 0.75 kB / 0.5808 GB, free: 4.105 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.0002178/0.426, allocations: 314 kB / 0.5811 GB, free: 3.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4261, allocations: 9.344 kB / 0.5811 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.4263, allocations: 18.2 kB / 0.5811 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.998e-05/0.4264, allocations: 165 kB / 0.5813 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4264, allocations: 2.312 kB / 0.5813 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.4264, allocations: 8.375 kB / 0.5813 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.4266, allocations: 39.17 kB / 0.5813 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.4266, allocations: 192 / 0.5813 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.4266, allocations: 4.688 kB / 0.5813 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4266, allocations: 0.5 kB / 0.5813 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.4267, allocations: 8.875 kB / 0.5813 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.549e-05/0.4268, allocations: 145 kB / 0.5815 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.4269, allocations: 28.78 kB / 0.5815 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.427, allocations: 10.28 kB / 0.5815 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.427, allocations: 0.5938 kB / 0.5815 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.427, allocations: 36.33 kB / 0.5816 GB, free: 3.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.427, allocations: 0 / 0.5816 GB, free: 3.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002278/0.4272, allocations: 51.53 kB / 0.5816 GB, free: 3.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.4273, allocations: 53.25 kB / 0.5817 GB, free: 3.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.686e-05/0.4273, allocations: 89.86 kB / 0.5817 GB, free: 3.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.4273, allocations: 25.7 kB / 0.5818 GB, free: 3.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-06/0.4273, allocations: 80.14 kB / 0.5818 GB, free: 2.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4274, allocations: 10.42 kB / 0.5818 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.4274, allocations: 11.64 kB / 0.5819 GB, free: 2.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.4274, allocations: 316.4 kB / 0.5822 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.4275, allocations: 8.406 kB / 0.5822 GB, free: 2.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.4275, allocations: 5.828 kB / 0.5822 GB, free: 2.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.273e-05/0.4276, allocations: 18.91 kB / 0.5822 GB, free: 2.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4276, allocations: 0 / 0.5822 GB, free: 2.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.4278, allocations: 44.45 kB / 0.5822 GB, free: 2.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4278, allocations: 5.594 kB / 0.5822 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4278, allocations: 4.703 kB / 0.5822 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.4278, allocations: 7.875 kB / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.4279, allocations: 5.891 kB / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4279, allocations: 0 / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.4279, allocations: 1.875 kB / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.4279, allocations: 1.75 kB / 0.5823 GB, free: 2.523 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.428, allocations: 107.5 kB / 0.5824 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.428, allocations: 0.75 kB / 0.5824 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.428, allocations: 11.97 kB / 0.5824 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.428, allocations: 1.125 kB / 0.5824 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.428, allocations: 0.6562 kB / 0.5824 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.4281, allocations: 0 / 0.5824 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.881e-05/0.4281, allocations: 145 kB / 0.5825 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4281, allocations: 6.156 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.4282, allocations: 2.953 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4282, allocations: 1.094 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.4282, allocations: 8.734 kB / 0.5825 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4282, allocations: 1.031 kB / 0.5825 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4282, allocations: 4 kB / 0.5825 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.4283, allocations: 61.44 kB / 0.5826 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.4283, allocations: 78.28 kB / 0.5827 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.4284, allocations: 8.656 kB / 0.5827 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.347e-05/0.4284, allocations: 7.688 kB / 0.5827 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.4284, allocations: 4.641 kB / 0.5827 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4284, allocations: 0.75 kB / 0.5827 GB, free: 2.023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.095e-05/0.4284, allocations: 79.28 kB / 0.5828 GB, free: 1.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4284, allocations: 0 / 0.5828 GB, free: 1.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001752/0.4286, allocations: 1.719 kB / 0.5828 GB, free: 1.945 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.963e-05/0.4287, allocations: 96.33 kB / 0.5829 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.4289, allocations: 20.53 kB / 0.5829 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4289, allocations: 4.062 kB / 0.5829 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.4289, allocations: 5.891 kB / 0.5829 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.4291, allocations: 4.469 kB / 0.5829 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.4293, allocations: 84.64 kB / 0.583 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.833e-05/0.4293, allocations: 0.6717 MB / 0.5836 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.4294, allocations: 6.062 kB / 0.5836 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.4294, allocations: 8.094 kB / 0.5836 GB, free: 1.047 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4294, allocations: 0 / 0.5836 GB, free: 1.047 MB / 430.1 MB Notification: Performance of Templates: time 0.001904/0.4313, allocations: 223.1 kB / 0.5839 GB, free: 0.9961 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)