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.00479/0.00479, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001082/0.001082, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9129/0.9129, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.84 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 80.92 MB / 0.5844 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001699/0.1444, allocations: 0.6271 MB / 0.585 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.1447, allocations: 59.8 kB / 0.585 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.022e-05/0.1447, allocations: 0 / 0.585 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.1447, allocations: 3.938 kB / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.538e-06/0.1447, allocations: 0 / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.1449, allocations: 15.97 kB / 0.585 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.828e-05/0.145, allocations: 0 / 0.585 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.145, allocations: 3.938 kB / 0.585 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.145, allocations: 4 kB / 0.5851 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.1451, allocations: 0 / 0.5851 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.1451, allocations: 0 / 0.5851 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.1452, allocations: 23.97 kB / 0.5851 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.1452, allocations: 8 kB / 0.5851 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.1452, allocations: 0 / 0.5851 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.688e-05/0.1453, allocations: 7.984 kB / 0.5851 GB, free: 4.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1453, allocations: 0 / 0.5851 GB, free: 4.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1453, allocations: 0 / 0.5851 GB, free: 4.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.1453, allocations: 0 / 0.5851 GB, free: 4.25 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.0002565/0.1455, allocations: 311.6 kB / 0.5854 GB, free: 3.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1456, allocations: 12.02 kB / 0.5854 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.1458, allocations: 24.91 kB / 0.5854 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.144e-05/0.1459, allocations: 164.4 kB / 0.5856 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1459, allocations: 384 / 0.5856 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.146, allocations: 4.312 kB / 0.5856 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1461, allocations: 34.25 kB / 0.5856 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1461, allocations: 192 / 0.5856 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1461, allocations: 3.938 kB / 0.5856 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1461, allocations: 0 / 0.5856 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.1462, allocations: 15.98 kB / 0.5856 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1464, allocations: 145.7 kB / 0.5858 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.532e-05/0.1464, allocations: 26.61 kB / 0.5858 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.1465, allocations: 20.78 kB / 0.5858 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1465, allocations: 3.984 kB / 0.5858 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.1465, allocations: 34.56 kB / 0.5859 GB, free: 3.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1466, allocations: 0 / 0.5859 GB, free: 3.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002272/0.1468, allocations: 45.62 kB / 0.5859 GB, free: 3.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1468, allocations: 55.39 kB / 0.586 GB, free: 3.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.175e-05/0.1469, allocations: 89.86 kB / 0.586 GB, free: 3.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1469, allocations: 25.7 kB / 0.5861 GB, free: 3.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.001e-05/0.1469, allocations: 84.14 kB / 0.5861 GB, free: 2.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1469, allocations: 8.031 kB / 0.5862 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.147, allocations: 13.72 kB / 0.5862 GB, free: 2.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.1471, allocations: 310.8 kB / 0.5865 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.1471, allocations: 11.92 kB / 0.5865 GB, free: 2.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.1472, allocations: 4 kB / 0.5865 GB, free: 2.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.1473, allocations: 16.78 kB / 0.5865 GB, free: 2.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1473, allocations: 8.062 kB / 0.5865 GB, free: 2.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001244/0.1474, allocations: 41.69 kB / 0.5865 GB, free: 2.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1474, allocations: 4 kB / 0.5865 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1474, allocations: 0 / 0.5865 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1475, allocations: 3.938 kB / 0.5865 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.1475, allocations: 11.98 kB / 0.5866 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1475, allocations: 3.984 kB / 0.5866 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.1476, allocations: 4 kB / 0.5866 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1476, allocations: 0 / 0.5866 GB, free: 2.512 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 5.849e-05/0.1477, allocations: 113.8 kB / 0.5867 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.1477, allocations: 3.984 kB / 0.5867 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.1477, allocations: 7.062 kB / 0.5867 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1477, allocations: 0 / 0.5867 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1477, allocations: 4 kB / 0.5867 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1477, allocations: 0 / 0.5867 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.648e-05/0.1478, allocations: 141.7 kB / 0.5868 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1478, allocations: 0 / 0.5868 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.1479, allocations: 11.98 kB / 0.5868 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1479, allocations: 0 / 0.5868 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1479, allocations: 7.938 kB / 0.5868 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1479, allocations: 0 / 0.5868 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1479, allocations: 3.938 kB / 0.5868 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1481, allocations: 65.11 kB / 0.5869 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.1481, allocations: 77.11 kB / 0.587 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1482, allocations: 7.969 kB / 0.587 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.1482, allocations: 0 / 0.587 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.1482, allocations: 7.938 kB / 0.587 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1482, allocations: 0 / 0.587 GB, free: 1.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.1483, allocations: 79.28 kB / 0.5871 GB, free: 1.895 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1483, allocations: 0 / 0.5871 GB, free: 1.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.1485, allocations: 0 / 0.5871 GB, free: 1.895 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.000114/0.1486, allocations: 99.23 kB / 0.5872 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1487, allocations: 15.98 kB / 0.5872 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1487, allocations: 0 / 0.5872 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.1488, allocations: 8 kB / 0.5872 GB, free: 1.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.1489, allocations: 5.141 kB / 0.5872 GB, free: 1.762 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.1491, allocations: 110.1 kB / 0.5873 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1494, allocations: 0.681 MB / 0.588 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.1494, allocations: 11.44 kB / 0.588 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1494, allocations: 0 / 0.588 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of Templates: time 0.001383/0.1508, allocations: 383.9 kB / 0.5883 GB, free: 0.5312 MB / 494.1 MB 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)