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") [: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.002102/0.002102, allocations: 173.5 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6185/0.6185, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.12/1.12, allocations: 221.3 MB / 395 MB, free: 10.29 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.0008414/0.0008414, allocations: 97.16 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.275e-06, allocations: 2.562 kB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3035/0.4052, allocations: 110.5 MB / 0.7412 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.4054, allocations: 73.42 kB / 0.7412 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01086/0.4163, allocations: 4.193 MB / 0.7453 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4163, allocations: 0 / 0.7453 GB, free: 10.36 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002428/0.4166, allocations: 346.7 kB / 0.7457 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.4166, allocations: 11.81 kB / 0.7457 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.4167, allocations: 12.34 kB / 0.7457 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.4168, allocations: 159.7 kB / 0.7458 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4168, allocations: 0 / 0.7458 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.4168, allocations: 3.781 kB / 0.7458 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.121e-05/0.4168, allocations: 0.75 kB / 0.7459 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.626e-05/0.4169, allocations: 35.62 kB / 0.7459 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.4169, allocations: 0 / 0.7459 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4169, allocations: 3.906 kB / 0.7459 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4169, allocations: 0 / 0.7459 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.4171, allocations: 139.8 kB / 0.746 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.4171, allocations: 23.66 kB / 0.746 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.4171, allocations: 8.672 kB / 0.7461 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/0.4177, allocations: 459.3 kB / 0.7465 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4177, allocations: 37.81 kB / 0.7465 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4177, allocations: 0 / 0.7465 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004754/0.4182, allocations: 241 kB / 0.7468 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.4182, allocations: 51.41 kB / 0.7468 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.628e-05/0.4183, allocations: 93.06 kB / 0.7469 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4183, allocations: 25.7 kB / 0.7469 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.4184, allocations: 84.39 kB / 0.747 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.4184, allocations: 9.5 kB / 0.747 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.4184, allocations: 0 / 0.747 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.4185, allocations: 319.4 kB / 0.7473 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.4185, allocations: 0 / 0.7473 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.4185, allocations: 25.16 kB / 0.7473 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.4186, allocations: 5.188 kB / 0.7473 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4186, allocations: 4 kB / 0.7473 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001041/0.4187, allocations: 51.16 kB / 0.7474 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.4187, allocations: 3.875 kB / 0.7474 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4187, allocations: 144 / 0.7474 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.4187, allocations: 0.6094 kB / 0.7474 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.4188, allocations: 12.25 kB / 0.7474 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4188, allocations: 4.422 kB / 0.7474 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.4188, allocations: 3.938 kB / 0.7474 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4188, allocations: 4.578 kB / 0.7474 GB, free: 24.13 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 5.862e-05/0.4189, allocations: 105 kB / 0.7475 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.4189, allocations: 4.438 kB / 0.7475 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.4191, allocations: 58.33 kB / 0.7476 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4191, allocations: 0.6562 kB / 0.7476 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4191, allocations: 0 / 0.7476 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4191, allocations: 0 / 0.7476 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.479e-05/0.4192, allocations: 136.5 kB / 0.7477 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4192, allocations: 0.5156 kB / 0.7477 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.4192, allocations: 4.422 kB / 0.7477 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4192, allocations: 4.672 kB / 0.7477 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.4192, allocations: 0 / 0.7477 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4193, allocations: 0 / 0.7477 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4193, allocations: 0.5625 kB / 0.7477 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001285/0.4194, allocations: 79.25 kB / 0.7478 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.4194, allocations: 81.75 kB / 0.7479 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4195, allocations: 16.55 kB / 0.7479 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.4195, allocations: 0 / 0.7479 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.4195, allocations: 1.266 kB / 0.7479 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4195, allocations: 3.812 kB / 0.7479 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.672e-05/0.4196, allocations: 79.3 kB / 0.748 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001909/0.4198, allocations: 32.98 kB / 0.748 GB, free: 23.54 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.00016/0.4199, allocations: 133.4 kB / 0.7481 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.42, allocations: 20.23 kB / 0.7482 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.42, allocations: 3.938 kB / 0.7482 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.42, allocations: 8.234 kB / 0.7482 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.694e-05/0.4201, allocations: 3.875 kB / 0.7482 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001703/0.4203, allocations: 64.5 kB / 0.7482 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.4205, allocations: 0.6921 MB / 0.7489 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4205, allocations: 0 / 0.7489 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.00232/0.4228, allocations: 0.8732 MB / 0.7498 GB, free: 22.59 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)