Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007845/0.007845, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001201/0.001201, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8106/0.8106, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 0.5814 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5091, allocations: 80.21 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002545/0.5117, allocations: 1.435 MB / 0.6611 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.5125, allocations: 379.2 kB / 0.6614 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.5125, allocations: 5.406 kB / 0.6614 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.5126, allocations: 0.7031 kB / 0.6614 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.5126, allocations: 3.938 kB / 0.6615 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.5131, allocations: 114.1 kB / 0.6616 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.5132, allocations: 26.41 kB / 0.6616 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.5133, allocations: 4.406 kB / 0.6616 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.5134, allocations: 17.72 kB / 0.6616 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.5134, allocations: 17.81 kB / 0.6616 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.5134, allocations: 2.812 kB / 0.6616 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.5139, allocations: 276 kB / 0.6619 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.5139, allocations: 6.781 kB / 0.6619 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.514, allocations: 11.36 kB / 0.6619 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.5142, allocations: 106.8 kB / 0.662 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5142, allocations: 0 / 0.662 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5142, allocations: 3.938 kB / 0.662 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5142, allocations: 0 / 0.662 GB, free: 8.859 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004635/0.5147, allocations: 365.6 kB / 0.6624 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5148, allocations: 9.203 kB / 0.6624 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.5148, allocations: 3.656 kB / 0.6624 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.804e-05/0.5149, allocations: 163 kB / 0.6625 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.5149, allocations: 5.75 kB / 0.6625 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.515, allocations: 1.719 kB / 0.6625 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.5151, allocations: 49.58 kB / 0.6626 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5151, allocations: 0.9375 kB / 0.6626 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.5152, allocations: 7.875 kB / 0.6626 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5152, allocations: 5.469 kB / 0.6626 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.5153, allocations: 37.92 kB / 0.6626 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.5156, allocations: 250.2 kB / 0.6629 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5158, allocations: 39.66 kB / 0.6629 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.5158, allocations: 27.47 kB / 0.6629 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000577/0.5164, allocations: 455.2 kB / 0.6634 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.5165, allocations: 39.75 kB / 0.6634 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.5165, allocations: 0 / 0.6634 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003865/0.5169, allocations: 82.7 kB / 0.6635 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.5169, allocations: 55.41 kB / 0.6635 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.517, allocations: 109.5 kB / 0.6636 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.517, allocations: 29.69 kB / 0.6637 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.517, allocations: 86.8 kB / 0.6638 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.517, allocations: 5.734 kB / 0.6638 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.5171, allocations: 16.22 kB / 0.6638 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.5171, allocations: 312.2 kB / 0.6641 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.5172, allocations: 21.44 kB / 0.6641 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.5173, allocations: 14.61 kB / 0.6641 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.5174, allocations: 47.92 kB / 0.6642 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5174, allocations: 0 / 0.6642 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.5176, allocations: 69.47 kB / 0.6642 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5176, allocations: 5.25 kB / 0.6642 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5176, allocations: 0 / 0.6642 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5177, allocations: 5.109 kB / 0.6642 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.5178, allocations: 13.2 kB / 0.6642 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5178, allocations: 1.344 kB / 0.6642 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.5178, allocations: 3.531 kB / 0.6642 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5178, allocations: 5.516 kB / 0.6643 GB, free: 6.539 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 (2): * Single equations (assignments): 2 * 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.113e-05/0.5179, allocations: 115 kB / 0.6644 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.5179, allocations: 5.062 kB / 0.6644 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.5181, allocations: 76.91 kB / 0.6644 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5181, allocations: 3.938 kB / 0.6644 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5181, allocations: 1.156 kB / 0.6644 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5182, allocations: 3.938 kB / 0.6645 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.5183, allocations: 167 kB / 0.6646 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5183, allocations: 0 / 0.6646 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.5183, allocations: 10.98 kB / 0.6646 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5183, allocations: 0 / 0.6646 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5183, allocations: 1.531 kB / 0.6646 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5184, allocations: 0 / 0.6646 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5184, allocations: 0 / 0.6646 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.5186, allocations: 171.8 kB / 0.6648 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.5186, allocations: 78.77 kB / 0.6649 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.5186, allocations: 1.688 kB / 0.6649 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.5187, allocations: 10.7 kB / 0.6649 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.5187, allocations: 1.375 kB / 0.6649 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.5187, allocations: 5.656 kB / 0.6649 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.5187, allocations: 82.97 kB / 0.665 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5188, allocations: 1.281 kB / 0.665 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002257/0.519, allocations: 23.36 kB / 0.665 GB, free: 5.773 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 (2): * Single equations (assignments): 2 * 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.000156/0.5191, allocations: 102.1 kB / 0.6651 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.5193, allocations: 37.67 kB / 0.6651 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5194, allocations: 5.312 kB / 0.6651 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.5194, allocations: 23.17 kB / 0.6651 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.5197, allocations: 8.625 kB / 0.6652 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.52, allocations: 116.7 kB / 0.6653 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.5201, allocations: 0.6781 MB / 0.6659 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.5201, allocations: 1.125 kB / 0.6659 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.5201, allocations: 12.72 kB / 0.6659 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5201, allocations: 0 / 0.6659 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.002809/0.523, allocations: 0.7108 MB / 0.6666 GB, free: 4.453 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)