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.009515/0.009516, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.002401/0.002401, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7985/0.7985, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 0.5814 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4269, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.003102/0.4301, allocations: 1.432 MB / 0.6611 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.4309, allocations: 380.8 kB / 0.6614 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.4309, allocations: 0 / 0.6614 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.431, allocations: 0.5625 kB / 0.6614 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.4311, allocations: 9.531 kB / 0.6615 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.4317, allocations: 111.5 kB / 0.6616 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.4318, allocations: 25.19 kB / 0.6616 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4319, allocations: 4.109 kB / 0.6616 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.4319, allocations: 18.03 kB / 0.6616 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.432, allocations: 18 kB / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.432, allocations: 2.781 kB / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.4325, allocations: 281 kB / 0.6619 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.4325, allocations: 2.484 kB / 0.6619 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.4326, allocations: 11.58 kB / 0.6619 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.4328, allocations: 106.3 kB / 0.662 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4328, allocations: 0 / 0.662 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4328, allocations: 0 / 0.662 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.4328, allocations: 0 / 0.662 GB, free: 8.82 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.0004445/0.4333, allocations: 369.7 kB / 0.6624 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4333, allocations: 13.31 kB / 0.6624 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.4334, allocations: 2.938 kB / 0.6624 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/0.4335, allocations: 168.5 kB / 0.6625 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4335, allocations: 384 / 0.6625 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4335, allocations: 9.828 kB / 0.6625 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.4337, allocations: 45.92 kB / 0.6626 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4337, allocations: 192 / 0.6626 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4337, allocations: 9.656 kB / 0.6626 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4338, allocations: 0 / 0.6626 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.4339, allocations: 36.89 kB / 0.6626 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.4342, allocations: 256.3 kB / 0.6629 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.4344, allocations: 39.12 kB / 0.6629 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.538e-05/0.4345, allocations: 27.25 kB / 0.6629 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.435, allocations: 459.6 kB / 0.6634 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4351, allocations: 32 kB / 0.6634 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.205e-06/0.4351, allocations: 4 kB / 0.6634 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003858/0.4355, allocations: 85.58 kB / 0.6635 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4355, allocations: 52.53 kB / 0.6635 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.4356, allocations: 104.2 kB / 0.6636 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.4356, allocations: 27.08 kB / 0.6637 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.4356, allocations: 85.58 kB / 0.6638 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.4357, allocations: 5.859 kB / 0.6638 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.4357, allocations: 21.16 kB / 0.6638 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/0.4358, allocations: 312.2 kB / 0.6641 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.4359, allocations: 21.62 kB / 0.6641 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.4359, allocations: 13.05 kB / 0.6641 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4361, allocations: 40.73 kB / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4361, allocations: 0 / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.4363, allocations: 76.88 kB / 0.6642 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4363, allocations: 5.562 kB / 0.6642 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4363, allocations: 0 / 0.6642 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4364, allocations: 0.9062 kB / 0.6642 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.4365, allocations: 13.89 kB / 0.6642 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4365, allocations: 0 / 0.6642 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.4365, allocations: 12.61 kB / 0.6643 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4365, allocations: 0 / 0.6643 GB, free: 6.504 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.332e-05/0.4366, allocations: 112.5 kB / 0.6644 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.4366, allocations: 5.219 kB / 0.6644 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.4369, allocations: 76.66 kB / 0.6644 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4369, allocations: 0 / 0.6644 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4369, allocations: 5.219 kB / 0.6644 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4369, allocations: 0 / 0.6644 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.437, allocations: 163.3 kB / 0.6646 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.437, allocations: 0 / 0.6646 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.4371, allocations: 18.77 kB / 0.6646 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4371, allocations: 0 / 0.6646 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.4371, allocations: 5.094 kB / 0.6646 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4371, allocations: 0 / 0.6646 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.4371, allocations: 0 / 0.6646 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.4374, allocations: 165.1 kB / 0.6648 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.4374, allocations: 78.52 kB / 0.6649 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4374, allocations: 4 kB / 0.6649 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.4375, allocations: 8.016 kB / 0.6649 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.4375, allocations: 5.188 kB / 0.6649 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4375, allocations: 1.25 kB / 0.6649 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.322e-05/0.4376, allocations: 83.12 kB / 0.6649 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4376, allocations: 1.5 kB / 0.665 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002464/0.4378, allocations: 26.8 kB / 0.665 GB, free: 5.742 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.0001535/0.438, allocations: 102.7 kB / 0.6651 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.4382, allocations: 38.02 kB / 0.6651 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4382, allocations: 0 / 0.6651 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.4383, allocations: 24.67 kB / 0.6651 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.4386, allocations: 7.438 kB / 0.6651 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.4389, allocations: 121.4 kB / 0.6653 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.4391, allocations: 0.6784 MB / 0.6659 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.4391, allocations: 1.406 kB / 0.6659 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.4391, allocations: 8.719 kB / 0.6659 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.4391, allocations: 0 / 0.6659 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of Templates: time 0.003108/0.4422, allocations: 0.7233 MB / 0.6666 GB, free: 4.418 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)