Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001208/0.001208, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001163/0.001163, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8245/0.8245, allocations: 135.2 MB / 425.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 59.91 kB / 0.5055 GB, free: 8.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3304, allocations: 80.93 MB / 0.5846 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002564/0.333, allocations: 1.5 MB / 0.586 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005929/0.3337, allocations: 381.4 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.3337, allocations: 2.344 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.3338, allocations: 5.219 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.319e-05/0.3338, allocations: 7.922 kB / 0.5864 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3343, allocations: 97.53 kB / 0.5865 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.3343, allocations: 22.88 kB / 0.5865 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.3344, allocations: 6.891 kB / 0.5865 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.3345, allocations: 12.3 kB / 0.5865 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.3345, allocations: 14.95 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3345, allocations: 3.094 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.3348, allocations: 272.1 kB / 0.5868 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.3349, allocations: 13.14 kB / 0.5868 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.3349, allocations: 12.22 kB / 0.5868 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.335, allocations: 66.62 kB / 0.5869 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.335, allocations: 0 / 0.5869 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.335, allocations: 0 / 0.5869 GB, free: 23.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3351, allocations: 2.75 kB / 0.5869 GB, free: 23.25 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.0003659/0.3354, allocations: 357.2 kB / 0.5872 GB, free: 22.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3355, allocations: 10.42 kB / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.3355, allocations: 7.156 kB / 0.5873 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.3356, allocations: 170.8 kB / 0.5874 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.3356, allocations: 9.031 kB / 0.5874 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3356, allocations: 1.531 kB / 0.5874 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3358, allocations: 50.94 kB / 0.5875 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3358, allocations: 5.484 kB / 0.5875 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3358, allocations: 5.125 kB / 0.5875 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3358, allocations: 0 / 0.5875 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.336, allocations: 32.22 kB / 0.5875 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.3362, allocations: 247.5 kB / 0.5878 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3364, allocations: 45.06 kB / 0.5878 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.3365, allocations: 24.59 kB / 0.5878 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.337, allocations: 462.8 kB / 0.5883 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.337, allocations: 35.91 kB / 0.5883 GB, free: 21.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.337, allocations: 1.188 kB / 0.5883 GB, free: 21.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003327/0.3374, allocations: 87.53 kB / 0.5884 GB, free: 21.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.3374, allocations: 56.56 kB / 0.5884 GB, free: 21.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.021e-05/0.3375, allocations: 105.7 kB / 0.5885 GB, free: 21.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3375, allocations: 25.7 kB / 0.5886 GB, free: 21.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.3375, allocations: 89.8 kB / 0.5887 GB, free: 21.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.3375, allocations: 5.75 kB / 0.5887 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.3375, allocations: 17.78 kB / 0.5887 GB, free: 21.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.3376, allocations: 316.2 kB / 0.589 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.3377, allocations: 17.11 kB / 0.589 GB, free: 21.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.3377, allocations: 14.23 kB / 0.589 GB, free: 21.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.3379, allocations: 43.05 kB / 0.5891 GB, free: 20.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3379, allocations: 0 / 0.5891 GB, free: 20.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001789/0.3381, allocations: 71.56 kB / 0.5891 GB, free: 20.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3381, allocations: 5.031 kB / 0.5891 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3381, allocations: 1.25 kB / 0.5891 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3381, allocations: 0 / 0.5891 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.3382, allocations: 15.3 kB / 0.5891 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3382, allocations: 1.531 kB / 0.5891 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.3383, allocations: 11.73 kB / 0.5892 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3383, allocations: 1.094 kB / 0.5892 GB, free: 20.92 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.355e-05/0.3383, allocations: 116.6 kB / 0.5893 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.3384, allocations: 2.719 kB / 0.5893 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.3386, allocations: 69.62 kB / 0.5893 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3386, allocations: 1.344 kB / 0.5893 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3386, allocations: 0 / 0.5893 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3386, allocations: 0 / 0.5893 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3387, allocations: 167.9 kB / 0.5895 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3387, allocations: 0.625 kB / 0.5895 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.3388, allocations: 10.95 kB / 0.5895 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3388, allocations: 3.938 kB / 0.5895 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3388, allocations: 3.469 kB / 0.5895 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3388, allocations: 3.938 kB / 0.5895 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3388, allocations: 1.219 kB / 0.5895 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.339, allocations: 170.1 kB / 0.5897 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.339, allocations: 78.48 kB / 0.5898 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.339, allocations: 0 / 0.5898 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.3391, allocations: 8.453 kB / 0.5898 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.3392, allocations: 1.406 kB / 0.5898 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3392, allocations: 2.281 kB / 0.5898 GB, free: 20.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.292e-05/0.3392, allocations: 86.98 kB / 0.5898 GB, free: 20.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3392, allocations: 6.25 kB / 0.5899 GB, free: 20.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.3394, allocations: 19.25 kB / 0.5899 GB, free: 20.19 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.000126/0.3396, allocations: 103.6 kB / 0.59 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3398, allocations: 44.2 kB / 0.59 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3398, allocations: 1.031 kB / 0.59 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.3399, allocations: 21.33 kB / 0.59 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3401, allocations: 7 kB / 0.59 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.3404, allocations: 141.6 kB / 0.5902 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.804e-05/0.3405, allocations: 0.6839 MB / 0.5908 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.3405, allocations: 12.53 kB / 0.5909 GB, free: 19.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3405, allocations: 0 / 0.5909 GB, free: 19.2 MB / 446.1 MB Notification: Performance of Templates: time 0.001997/0.3425, allocations: 0.7012 MB / 0.5915 GB, free: 18.88 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)