Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7672/0.7672, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008529/0.000853, allocations: 101.9 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.457e-05/4.469e-05, allocations: 6.938 kB / 0.5601 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.177, allocations: 82.3 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6011/0.7782, allocations: 111.3 MB / 0.7491 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.7784, allocations: 80.2 kB / 0.7492 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.7901, allocations: 4.561 MB / 0.7536 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7902, allocations: 0 / 0.7536 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7902, allocations: 6.344 kB / 0.7536 GB, free: 27.38 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003176/0.7905, allocations: 339.1 kB / 0.7539 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7905, allocations: 15.69 kB / 0.754 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.7906, allocations: 6.422 kB / 0.754 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.7907, allocations: 166.9 kB / 0.7541 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.7907, allocations: 0 / 0.7541 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.7908, allocations: 3.906 kB / 0.7541 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.282e-05/0.7909, allocations: 39 kB / 0.7542 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.7909, allocations: 0 / 0.7542 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.7909, allocations: 0 / 0.7542 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.7909, allocations: 3.906 kB / 0.7542 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.019e-05/0.7909, allocations: 4 kB / 0.7542 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.7911, allocations: 154.9 kB / 0.7543 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/0.7911, allocations: 18.48 kB / 0.7543 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.7911, allocations: 11.02 kB / 0.7543 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.7917, allocations: 461.1 kB / 0.7548 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.7918, allocations: 41.56 kB / 0.7548 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.7918, allocations: 0 / 0.7548 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004809/0.7923, allocations: 248.1 kB / 0.7551 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.7923, allocations: 51.41 kB / 0.7551 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.7924, allocations: 87.81 kB / 0.7552 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.7924, allocations: 29.52 kB / 0.7552 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.7924, allocations: 80.14 kB / 0.7553 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.7924, allocations: 13.98 kB / 0.7553 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.7924, allocations: 3.938 kB / 0.7553 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7926, allocations: 315 kB / 0.7556 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.7926, allocations: 7.188 kB / 0.7556 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.7926, allocations: 20.27 kB / 0.7556 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.7926, allocations: 7.219 kB / 0.7556 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7926, allocations: 3.953 kB / 0.7556 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.373e-05/0.7927, allocations: 51.56 kB / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7927, allocations: 7.656 kB / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7928, allocations: 4.062 kB / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.7928, allocations: 3.984 kB / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.7928, allocations: 10.64 kB / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.7928, allocations: 0 / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.7929, allocations: 0 / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.7929, allocations: 0 / 0.7557 GB, free: 25.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/0.793, allocations: 104.9 kB / 0.7558 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.793, allocations: 5.953 kB / 0.7558 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.7931, allocations: 62.12 kB / 0.7559 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7931, allocations: 3.906 kB / 0.7559 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7931, allocations: 0 / 0.7559 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7932, allocations: 0 / 0.7559 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.065e-05/0.7933, allocations: 158.4 kB / 0.756 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7933, allocations: 0 / 0.756 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.7933, allocations: 7.734 kB / 0.7561 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7933, allocations: 0 / 0.7561 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.7933, allocations: 0 / 0.7561 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.7933, allocations: 3.875 kB / 0.7561 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7933, allocations: 4.859 kB / 0.7561 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.7935, allocations: 80.94 kB / 0.7561 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.7935, allocations: 77.11 kB / 0.7562 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.7935, allocations: 11.33 kB / 0.7562 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.7936, allocations: 3 kB / 0.7562 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.7936, allocations: 0 / 0.7562 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.7936, allocations: 3.969 kB / 0.7562 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.7936, allocations: 79.34 kB / 0.7563 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7936, allocations: 0 / 0.7563 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000223/0.7939, allocations: 45.05 kB / 0.7563 GB, free: 24.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002074/0.7941, allocations: 128.2 kB / 0.7565 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.7942, allocations: 19.09 kB / 0.7565 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7942, allocations: 0 / 0.7565 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.7942, allocations: 6.656 kB / 0.7565 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.7943, allocations: 8 kB / 0.7565 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/0.7945, allocations: 73.45 kB / 0.7566 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.7947, allocations: 0.6798 MB / 0.7572 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.7947, allocations: 4 kB / 0.7572 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.7948, allocations: 14.45 kB / 0.7573 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.7948, allocations: 0 / 0.7573 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.002574/0.7974, allocations: 0.8182 MB / 0.7581 GB, free: 23.54 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)