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.001162/0.001162, allocations: 105.8 kB / 16.27 MB, free: 6.418 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.001167/0.001167, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 132.2 MB / 423.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3259, allocations: 80.18 MB / 0.5807 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002288/0.3282, allocations: 1.434 MB / 0.5821 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.3288, allocations: 388.8 kB / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.3289, allocations: 0 / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.3289, allocations: 0 / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.004e-05/0.329, allocations: 6.656 kB / 0.5825 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.3294, allocations: 120.8 kB / 0.5826 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.3294, allocations: 17.64 kB / 0.5826 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.3295, allocations: 8.5 kB / 0.5826 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.3296, allocations: 7.969 kB / 0.5827 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.311e-05/0.3296, allocations: 23.81 kB / 0.5827 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3296, allocations: 2.812 kB / 0.5827 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.33, allocations: 276 kB / 0.5829 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.33, allocations: 8.641 kB / 0.583 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.33, allocations: 10.09 kB / 0.583 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3302, allocations: 104.6 kB / 0.5831 GB, free: 25.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3302, allocations: 2.688 kB / 0.5831 GB, free: 25.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3302, allocations: 1.125 kB / 0.5831 GB, free: 25.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3302, allocations: 0 / 0.5831 GB, free: 25.52 MB / 446.1 MB 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.0003631/0.3306, allocations: 364.7 kB / 0.5834 GB, free: 25.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3306, allocations: 9.219 kB / 0.5834 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.3307, allocations: 8.25 kB / 0.5834 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.3308, allocations: 173.5 kB / 0.5836 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3308, allocations: 2.875 kB / 0.5836 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3308, allocations: 1.531 kB / 0.5836 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.331, allocations: 54.72 kB / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.331, allocations: 192 / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.331, allocations: 5.25 kB / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.331, allocations: 1.25 kB / 0.5837 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3312, allocations: 35.78 kB / 0.5837 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.3314, allocations: 253.6 kB / 0.5839 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3316, allocations: 38.69 kB / 0.584 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.3317, allocations: 24.48 kB / 0.584 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.3322, allocations: 458.2 kB / 0.5844 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3323, allocations: 31.47 kB / 0.5845 GB, free: 23.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.532e-06/0.3323, allocations: 2.219 kB / 0.5845 GB, free: 23.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003632/0.3326, allocations: 91.3 kB / 0.5846 GB, free: 23.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.3327, allocations: 53.69 kB / 0.5846 GB, free: 23.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.958e-05/0.3327, allocations: 104.8 kB / 0.5847 GB, free: 23.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.3327, allocations: 27.11 kB / 0.5847 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.3328, allocations: 85.27 kB / 0.5848 GB, free: 23.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.3328, allocations: 5.156 kB / 0.5848 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.3328, allocations: 13.69 kB / 0.5848 GB, free: 23.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.3329, allocations: 318.8 kB / 0.5851 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.333, allocations: 15.14 kB / 0.5851 GB, free: 23.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.333, allocations: 18.2 kB / 0.5852 GB, free: 23.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3332, allocations: 44.97 kB / 0.5852 GB, free: 23.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3332, allocations: 4.594 kB / 0.5852 GB, free: 23.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002111/0.3334, allocations: 64.89 kB / 0.5853 GB, free: 23.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3334, allocations: 4.906 kB / 0.5853 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3335, allocations: 1.406 kB / 0.5853 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3335, allocations: 3.938 kB / 0.5853 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.3336, allocations: 18.67 kB / 0.5853 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3336, allocations: 0.6562 kB / 0.5853 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.3336, allocations: 9.547 kB / 0.5853 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3336, allocations: 1.344 kB / 0.5853 GB, free: 23.2 MB / 446.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 (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 4.854e-05/0.3337, allocations: 115.1 kB / 0.5854 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3337, allocations: 2.469 kB / 0.5854 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.334, allocations: 77.75 kB / 0.5855 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.334, allocations: 1.062 kB / 0.5855 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.334, allocations: 0 / 0.5855 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.334, allocations: 3 kB / 0.5855 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3341, allocations: 166.7 kB / 0.5857 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3341, allocations: 0 / 0.5857 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.3342, allocations: 10.2 kB / 0.5857 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3342, allocations: 0 / 0.5857 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3342, allocations: 3.75 kB / 0.5857 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3342, allocations: 0 / 0.5857 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3342, allocations: 1.156 kB / 0.5857 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3345, allocations: 169 kB / 0.5858 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.3345, allocations: 79.08 kB / 0.5859 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3345, allocations: 0 / 0.5859 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.3346, allocations: 9.109 kB / 0.5859 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.3346, allocations: 1 kB / 0.5859 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3346, allocations: 1.344 kB / 0.5859 GB, free: 22.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.3347, allocations: 89.42 kB / 0.586 GB, free: 22.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3347, allocations: 0 / 0.586 GB, free: 22.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.3349, allocations: 16.69 kB / 0.586 GB, free: 22.47 MB / 446.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 (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.0001545/0.3351, allocations: 107.5 kB / 0.5861 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3353, allocations: 42.77 kB / 0.5862 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3353, allocations: 1.469 kB / 0.5862 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.3354, allocations: 20.11 kB / 0.5862 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3357, allocations: 12.16 kB / 0.5862 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.336, allocations: 137.9 kB / 0.5863 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.3361, allocations: 0.6787 MB / 0.587 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.3361, allocations: 11.06 kB / 0.587 GB, free: 21.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3361, allocations: 3.938 kB / 0.587 GB, free: 21.48 MB / 446.1 MB Notification: Performance of Templates: time 0.001916/0.338, allocations: 0.7055 MB / 0.5877 GB, free: 21.16 MB / 446.1 MB 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)