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.001268/0.001268, allocations: 108.1 kB / 16.41 MB, free: 6.473 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.001553/0.001553, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8034/0.8034, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.75 kB / 0.5821 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1305, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001524/0.1321, allocations: 0.57 MB / 0.6609 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002324/0.1323, allocations: 47.78 kB / 0.661 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.1323, allocations: 4 kB / 0.661 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.1324, allocations: 0 / 0.661 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.1324, allocations: 0 / 0.661 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1326, allocations: 19.91 kB / 0.661 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.866e-05/0.1326, allocations: 0 / 0.661 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.1327, allocations: 11.94 kB / 0.661 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.074e-05/0.1327, allocations: 0 / 0.661 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.832e-05/0.1327, allocations: 0 / 0.661 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.1327, allocations: 0 / 0.661 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.1328, allocations: 23.97 kB / 0.661 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.645e-06/0.1328, allocations: 0 / 0.661 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.1329, allocations: 0 / 0.661 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.621e-05/0.1329, allocations: 15.97 kB / 0.6611 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.133, allocations: 4 kB / 0.6611 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.133, allocations: 0 / 0.6611 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.133, allocations: 0 / 0.6611 GB, free: 9.559 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.0002714/0.1333, allocations: 323.5 kB / 0.6614 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1333, allocations: 8.031 kB / 0.6614 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000237/0.1335, allocations: 20.91 kB / 0.6614 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.1336, allocations: 162.9 kB / 0.6616 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1336, allocations: 4.359 kB / 0.6616 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1337, allocations: 384 / 0.6616 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1338, allocations: 38.25 kB / 0.6616 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1338, allocations: 4.188 kB / 0.6616 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1338, allocations: 3.938 kB / 0.6616 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1338, allocations: 0 / 0.6616 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.1339, allocations: 15.86 kB / 0.6616 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.134, allocations: 145.7 kB / 0.6618 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.1341, allocations: 22.95 kB / 0.6618 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1342, allocations: 16.91 kB / 0.6618 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1342, allocations: 0 / 0.6618 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1342, allocations: 34.56 kB / 0.6618 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1342, allocations: 0 / 0.6618 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000228/0.1345, allocations: 49.55 kB / 0.6619 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.1345, allocations: 55.41 kB / 0.6619 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.393e-05/0.1345, allocations: 93.98 kB / 0.662 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1346, allocations: 29.7 kB / 0.6621 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.1346, allocations: 80.14 kB / 0.6621 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1346, allocations: 3.953 kB / 0.6621 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.1346, allocations: 13.72 kB / 0.6621 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.1347, allocations: 314.8 kB / 0.6624 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.1348, allocations: 3.984 kB / 0.6624 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.1348, allocations: 8 kB / 0.6625 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/0.1349, allocations: 16.84 kB / 0.6625 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.135, allocations: 0 / 0.6625 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000124/0.1351, allocations: 49.61 kB / 0.6625 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1351, allocations: 8 kB / 0.6625 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1351, allocations: 0 / 0.6625 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1351, allocations: 3.938 kB / 0.6625 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.1352, allocations: 12.09 kB / 0.6625 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1352, allocations: 0 / 0.6625 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.1352, allocations: 0 / 0.6625 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1353, allocations: 3.984 kB / 0.6625 GB, free: 7.82 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.153e-05/0.1353, allocations: 109.8 kB / 0.6627 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.1353, allocations: 0 / 0.6627 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.1354, allocations: 3.125 kB / 0.6627 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1354, allocations: 3.938 kB / 0.6627 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1354, allocations: 4 kB / 0.6627 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.1354, allocations: 81.05 kB / 0.6627 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.1354, allocations: 0 / 0.6627 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.1355, allocations: 7.984 kB / 0.6627 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.1355, allocations: 0 / 0.6627 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001635/0.1357, allocations: 124.8 kB / 0.6629 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001891/0.1359, allocations: 222.8 kB / 0.6631 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.874e-05/0.1359, allocations: 4 kB / 0.6631 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.1359, allocations: 75.28 kB / 0.6632 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of Backend: time 3.1e-07/0.136, allocations: 0 / 0.6632 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.1363, allocations: 96.17 kB / 0.6632 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0002826/0.1366, allocations: 0.5253 MB / 0.6638 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.002119/0.1388, allocations: 448.7 kB / 0.6642 GB, free: 6.027 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)