Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 179.9 kB / 7.458 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5988/0.5988, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.138/1.138, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008636/0.0008635, allocations: 110.4 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.088e-05, allocations: 2.812 kB / 0.5529 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/0.413, allocations: 110.7 MB / 0.7413 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.4132, allocations: 81.08 kB / 0.7414 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01228/0.4255, allocations: 4.725 MB / 0.746 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4255, allocations: 3.844 kB / 0.746 GB, free: 10.56 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002943/0.4258, allocations: 360.5 kB / 0.7463 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.4258, allocations: 11.53 kB / 0.7463 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.4259, allocations: 3.906 kB / 0.7463 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.426, allocations: 172.3 kB / 0.7465 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.426, allocations: 11.89 kB / 0.7465 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.426, allocations: 8.484 kB / 0.7465 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.728e-05/0.4261, allocations: 9.141 kB / 0.7465 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.945e-05/0.4262, allocations: 47.84 kB / 0.7466 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4262, allocations: 3.938 kB / 0.7466 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4262, allocations: 0 / 0.7466 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4262, allocations: 0.6562 kB / 0.7466 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.4264, allocations: 141.9 kB / 0.7467 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.4264, allocations: 41.62 kB / 0.7468 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.4264, allocations: 24.09 kB / 0.7468 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.427, allocations: 458.3 kB / 0.7472 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.427, allocations: 31.31 kB / 0.7473 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4271, allocations: 3.844 kB / 0.7473 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0008654/0.4279, allocations: 0.522 MB / 0.7478 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.428, allocations: 55.05 kB / 0.7478 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.498e-05/0.428, allocations: 89.73 kB / 0.7479 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.428, allocations: 25.7 kB / 0.7479 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.4281, allocations: 81.17 kB / 0.748 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4281, allocations: 36.92 kB / 0.748 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.4281, allocations: 0 / 0.748 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.4282, allocations: 324.5 kB / 0.7483 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.4282, allocations: 15.16 kB / 0.7484 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.4283, allocations: 18.66 kB / 0.7484 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.4283, allocations: 25.67 kB / 0.7484 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4283, allocations: 0 / 0.7484 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001555/0.4285, allocations: 85.03 kB / 0.7485 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.4285, allocations: 7.688 kB / 0.7485 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.4285, allocations: 0 / 0.7485 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4285, allocations: 0 / 0.7485 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.4286, allocations: 30.11 kB / 0.7485 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.4287, allocations: 0.6562 kB / 0.7485 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.4287, allocations: 3.938 kB / 0.7485 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.4287, allocations: 4.391 kB / 0.7485 GB, free: 24.12 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.536e-05/0.4288, allocations: 105.5 kB / 0.7486 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.4288, allocations: 8.406 kB / 0.7486 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.429, allocations: 108.2 kB / 0.7487 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.429, allocations: 0 / 0.7487 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.429, allocations: 0 / 0.7487 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.429, allocations: 4.609 kB / 0.7487 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.4293, allocations: 320.8 kB / 0.7491 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4294, allocations: 0 / 0.7491 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.4295, allocations: 26.27 kB / 0.7491 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4295, allocations: 0 / 0.7491 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4295, allocations: 0.6562 kB / 0.7491 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4295, allocations: 7.844 kB / 0.7491 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4295, allocations: 192 / 0.7491 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002267/0.4297, allocations: 206.2 kB / 0.7493 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.4298, allocations: 92.8 kB / 0.7494 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4298, allocations: 7.781 kB / 0.7494 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.4299, allocations: 0.7969 kB / 0.7494 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.4299, allocations: 6.797 kB / 0.7494 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.4299, allocations: 7.344 kB / 0.7494 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.65e-05/0.43, allocations: 76.08 kB / 0.7495 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002398/0.4302, allocations: 53.25 kB / 0.7495 GB, free: 23.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001943/0.4304, allocations: 161.5 kB / 0.7497 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.942e-05/0.4305, allocations: 52.91 kB / 0.7497 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4305, allocations: 0 / 0.7497 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-05/0.4306, allocations: 33.86 kB / 0.7498 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.4307, allocations: 3.906 kB / 0.7498 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.4309, allocations: 115.4 kB / 0.7499 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.4312, allocations: 0.7126 MB / 0.7506 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2e-07/0.4312, allocations: 3.938 kB / 0.7506 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.003205/0.4344, allocations: 1.458 MB / 0.752 GB, free: 22.31 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)