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.001139/0.001139, allocations: 112.1 kB / 16.42 MB, free: 6.426 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.001117/0.001117, allocations: 187.9 kB / 17.35 MB, free: 5.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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.38 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 80.22 MB / 0.6604 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001587/0.1341, allocations: 0.5775 MB / 0.661 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00023/0.1344, allocations: 43.84 kB / 0.661 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.1344, allocations: 4 kB / 0.661 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.1344, allocations: 0 / 0.661 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.1345, allocations: 3.938 kB / 0.661 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1347, allocations: 11.97 kB / 0.661 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.577e-05/0.1347, allocations: 0 / 0.661 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1348, allocations: 8 kB / 0.661 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.161e-05/0.1348, allocations: 3.938 kB / 0.661 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/0.1348, allocations: 0 / 0.661 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1348, allocations: 0 / 0.661 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1349, allocations: 27.97 kB / 0.6611 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.135, allocations: 0 / 0.6611 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.135, allocations: 0 / 0.6611 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.67e-05/0.1351, allocations: 11.97 kB / 0.6611 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1351, allocations: 4 kB / 0.6611 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.1351, allocations: 0 / 0.6611 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1351, allocations: 3.938 kB / 0.6611 GB, free: 9.66 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.0002676/0.1354, allocations: 323.5 kB / 0.6614 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1354, allocations: 8.031 kB / 0.6614 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.1357, allocations: 20.84 kB / 0.6614 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.1357, allocations: 162.9 kB / 0.6616 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1358, allocations: 384 / 0.6616 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1358, allocations: 384 / 0.6616 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1359, allocations: 38.25 kB / 0.6616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1359, allocations: 4.188 kB / 0.6616 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1359, allocations: 3.938 kB / 0.6616 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.136, allocations: 0 / 0.6616 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.136, allocations: 7.984 kB / 0.6616 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.1362, allocations: 153.6 kB / 0.6618 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.1362, allocations: 26.88 kB / 0.6618 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.1363, allocations: 16.91 kB / 0.6618 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1363, allocations: 0 / 0.6618 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1364, allocations: 34.56 kB / 0.6618 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1364, allocations: 0 / 0.6618 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002253/0.1366, allocations: 53.55 kB / 0.6619 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1366, allocations: 55.53 kB / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.181e-05/0.1367, allocations: 93.86 kB / 0.662 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1367, allocations: 25.7 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.1367, allocations: 80.14 kB / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1368, allocations: 3.953 kB / 0.6621 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1368, allocations: 9.719 kB / 0.6621 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.1369, allocations: 322.8 kB / 0.6625 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.1369, allocations: 3.984 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.137, allocations: 12 kB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.69e-05/0.1371, allocations: 16.84 kB / 0.6625 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1371, allocations: 0 / 0.6625 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001224/0.1372, allocations: 45.61 kB / 0.6625 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1372, allocations: 8 kB / 0.6625 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1372, allocations: 0 / 0.6625 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1373, allocations: 3.938 kB / 0.6625 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.1373, allocations: 8.094 kB / 0.6625 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1373, allocations: 0 / 0.6625 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.1374, allocations: 0 / 0.6625 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1374, allocations: 3.984 kB / 0.6625 GB, free: 7.922 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.415e-05/0.1375, allocations: 113.8 kB / 0.6627 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.1375, allocations: 0 / 0.6627 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.1375, allocations: 3.125 kB / 0.6627 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1375, allocations: 3.938 kB / 0.6627 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1375, allocations: 4 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.1376, allocations: 77.11 kB / 0.6627 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1376, allocations: 0 / 0.6627 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.1376, allocations: 11.92 kB / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.1377, allocations: 0 / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001608/0.1378, allocations: 113 kB / 0.6629 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001794/0.138, allocations: 230.7 kB / 0.6631 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.649e-05/0.1381, allocations: 4 kB / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.634e-05/0.1381, allocations: 75.28 kB / 0.6632 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of Backend: time 3.71e-07/0.1381, allocations: 0 / 0.6632 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.1385, allocations: 90.36 kB / 0.6632 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0002986/0.1388, allocations: 0.5292 MB / 0.6638 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of Templates: time 0.002407/0.1412, allocations: 440.7 kB / 0.6642 GB, free: 6.137 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)