Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009178/0.0009178, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008122/0.0008123, allocations: 187.2 kB / 16.92 MB, free: 6.75 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.292/1.292, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8774/0.8774, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 13.72 kB / 0.5083 GB, free: 4.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 82.3 MB / 0.5886 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.0006378/0.1363, allocations: 307 kB / 0.5889 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.1366, allocations: 55.84 kB / 0.589 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-06/0.1366, allocations: 0 / 0.589 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.1366, allocations: 4 kB / 0.589 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.1366, allocations: 0 / 0.589 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.1368, allocations: 11.97 kB / 0.589 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.226e-05/0.1369, allocations: 4 kB / 0.589 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.1369, allocations: 0 / 0.589 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.1369, allocations: 3.938 kB / 0.589 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.712e-05/0.137, allocations: 0 / 0.589 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.137, allocations: 4 kB / 0.589 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.1371, allocations: 19.98 kB / 0.589 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.1371, allocations: 0 / 0.589 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.1371, allocations: 33.64 kB / 0.589 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.106e-05/0.1372, allocations: 15.97 kB / 0.5891 GB, free: 2.117 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1372, allocations: 0 / 0.5891 GB, free: 2.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1372, allocations: 0 / 0.5891 GB, free: 2.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1372, allocations: 0 / 0.5891 GB, free: 2.117 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.000247/0.1375, allocations: 311.5 kB / 0.5894 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1375, allocations: 12.09 kB / 0.5894 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.1377, allocations: 16.91 kB / 0.5894 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.1378, allocations: 168.4 kB / 0.5895 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.1378, allocations: 384 / 0.5895 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.1379, allocations: 384 / 0.5896 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.138, allocations: 34.25 kB / 0.5896 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.138, allocations: 192 / 0.5896 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.138, allocations: 3.938 kB / 0.5896 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.138, allocations: 7.984 kB / 0.5896 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.1381, allocations: 11.94 kB / 0.5896 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.1383, allocations: 149.7 kB / 0.5897 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.1383, allocations: 26.59 kB / 0.5898 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.1384, allocations: 12.91 kB / 0.5898 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1384, allocations: 0 / 0.5898 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.1384, allocations: 34.56 kB / 0.5898 GB, free: 1.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1384, allocations: 8 kB / 0.5898 GB, free: 1.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002146/0.1387, allocations: 49.55 kB / 0.5899 GB, free: 1.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1387, allocations: 51.41 kB / 0.5899 GB, free: 1.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.977e-05/0.1387, allocations: 93.86 kB / 0.59 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1388, allocations: 25.7 kB / 0.59 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.1388, allocations: 84.14 kB / 0.5901 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1388, allocations: 7.844 kB / 0.5901 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.1389, allocations: 9.844 kB / 0.5901 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.983e-05/0.1389, allocations: 314.8 kB / 0.5904 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.139, allocations: 7.984 kB / 0.5904 GB, free: 500 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.139, allocations: 7.938 kB / 0.5904 GB, free: 492 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.656e-05/0.1391, allocations: 12.84 kB / 0.5905 GB, free: 476 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1392, allocations: 0 / 0.5905 GB, free: 476 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001226/0.1393, allocations: 53.69 kB / 0.5905 GB, free: 416 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1393, allocations: 7.984 kB / 0.5905 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1393, allocations: 0 / 0.5905 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1393, allocations: 3.938 kB / 0.5905 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.1394, allocations: 4 kB / 0.5905 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1394, allocations: 0 / 0.5905 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.1394, allocations: 0 / 0.5905 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1395, allocations: 4 kB / 0.5905 GB, free: 396 kB / 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 5.945e-05/0.1395, allocations: 113.9 kB / 0.5906 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.1395, allocations: 0 / 0.5906 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.1396, allocations: 7.062 kB / 0.5906 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1396, allocations: 0 / 0.5906 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1396, allocations: 0 / 0.5906 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1396, allocations: 4 kB / 0.5907 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.031e-05/0.1397, allocations: 145.7 kB / 0.5908 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1397, allocations: 0 / 0.5908 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.1397, allocations: 4 kB / 0.5908 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1397, allocations: 0 / 0.5908 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1397, allocations: 7.938 kB / 0.5908 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1397, allocations: 0 / 0.5908 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1397, allocations: 0 / 0.5908 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1399, allocations: 73.05 kB / 0.5909 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1399, allocations: 77.11 kB / 0.5909 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.14, allocations: 3.938 kB / 0.5909 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.264e-05/0.14, allocations: 4.031 kB / 0.591 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.14, allocations: 4 kB / 0.591 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.14, allocations: 0 / 0.591 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.309e-05/0.1401, allocations: 75.28 kB / 0.591 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1401, allocations: 0 / 0.591 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001729/0.1402, allocations: 0 / 0.591 GB, free: 15.78 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.0001172/0.1404, allocations: 103.2 kB / 0.5911 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1405, allocations: 15.98 kB / 0.5911 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1405, allocations: 3.938 kB / 0.5911 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.1406, allocations: 7.938 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.1407, allocations: 8.219 kB / 0.5912 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.1409, allocations: 104.5 kB / 0.5913 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.1411, allocations: 0.6731 MB / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.1412, allocations: 11.44 kB / 0.5919 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1412, allocations: 4.125 kB / 0.5919 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.001485/0.1427, allocations: 392.8 kB / 0.5923 GB, free: 14.41 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)