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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.436/1.436, allocations: 222.9 MB / 404.7 MB, free: 6.129 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.001107/0.001107, allocations: 103.7 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009972/0.0009973, allocations: 59.91 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1376, allocations: 80.43 MB / 0.6422 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001759/0.1394, allocations: 0.6738 MB / 0.6428 GB, free: 4.766 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.14, allocations: 384.2 kB / 0.6432 GB, free: 4.391 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.481e-05/0.1401, allocations: 0 / 0.6432 GB, free: 4.391 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.1401, allocations: 0 / 0.6432 GB, free: 4.391 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.1402, allocations: 0 / 0.6432 GB, free: 4.391 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1405, allocations: 85.03 kB / 0.6433 GB, free: 4.309 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.185e-05/0.1406, allocations: 23.92 kB / 0.6433 GB, free: 4.285 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.1406, allocations: 4 kB / 0.6433 GB, free: 4.281 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.1406, allocations: 11.98 kB / 0.6433 GB, free: 4.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.1407, allocations: 11.92 kB / 0.6433 GB, free: 4.258 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1407, allocations: 4 kB / 0.6433 GB, free: 4.254 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.1411, allocations: 271.6 kB / 0.6436 GB, free: 3.988 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1411, allocations: 11.94 kB / 0.6436 GB, free: 3.977 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1411, allocations: 7.938 kB / 0.6436 GB, free: 3.969 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1413, allocations: 103.8 kB / 0.6437 GB, free: 3.867 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1413, allocations: 7.984 kB / 0.6437 GB, free: 3.859 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1413, allocations: 0 / 0.6437 GB, free: 3.859 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1413, allocations: 0 / 0.6437 GB, free: 3.859 MB / 442.7 MB 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.0004213/0.1418, allocations: 354.2 kB / 0.644 GB, free: 3.465 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1418, allocations: 12.03 kB / 0.644 GB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.1419, allocations: 8.859 kB / 0.6441 GB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.142, allocations: 176.2 kB / 0.6442 GB, free: 3.234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.142, allocations: 4.375 kB / 0.6442 GB, free: 3.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1421, allocations: 4.375 kB / 0.6442 GB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1422, allocations: 54.19 kB / 0.6443 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1422, allocations: 192 / 0.6443 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1423, allocations: 7.938 kB / 0.6443 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1423, allocations: 0 / 0.6443 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.1423, allocations: 19.98 kB / 0.6443 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1425, allocations: 169.6 kB / 0.6445 GB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1426, allocations: 58.5 kB / 0.6445 GB, free: 2.859 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.1427, allocations: 24.84 kB / 0.6446 GB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/0.1433, allocations: 461.5 kB / 0.645 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.1434, allocations: 30.56 kB / 0.645 GB, free: 2.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1434, allocations: 0 / 0.645 GB, free: 2.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001286/0.1447, allocations: 0.5956 MB / 0.6456 GB, free: 1.562 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1447, allocations: 55.41 kB / 0.6457 GB, free: 1.496 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.1448, allocations: 101.8 kB / 0.6458 GB, free: 1.387 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1448, allocations: 29.7 kB / 0.6458 GB, free: 1.352 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.1449, allocations: 80.14 kB / 0.6459 GB, free: 1.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1449, allocations: 39.45 kB / 0.6459 GB, free: 1.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.145, allocations: 25.72 kB / 0.6459 GB, free: 1.199 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1451, allocations: 322.8 kB / 0.6462 GB, free: 0.875 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.1452, allocations: 19.94 kB / 0.6462 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.972e-05/0.1452, allocations: 19.98 kB / 0.6463 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.1453, allocations: 61.91 kB / 0.6463 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1453, allocations: 0 / 0.6463 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000147/0.1455, allocations: 98.75 kB / 0.6464 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1455, allocations: 8 kB / 0.6464 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1455, allocations: 7.984 kB / 0.6464 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1455, allocations: 0 / 0.6464 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1456, allocations: 23.98 kB / 0.6465 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1457, allocations: 96 / 0.6465 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.1457, allocations: 7.875 kB / 0.6465 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1457, allocations: 8 kB / 0.6465 GB, free: 0.6172 MB / 442.7 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 (13): * Single equations (assignments): 13 * 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 7.187e-05/0.1458, allocations: 109.8 kB / 0.6466 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1458, allocations: 11.84 kB / 0.6466 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.146, allocations: 113.6 kB / 0.6467 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.146, allocations: 0 / 0.6467 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.146, allocations: 0 / 0.6467 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1461, allocations: 0 / 0.6467 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.1464, allocations: 358.5 kB / 0.647 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1465, allocations: 0 / 0.647 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1466, allocations: 19.98 kB / 0.6471 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1466, allocations: 0 / 0.6471 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.1466, allocations: 4 kB / 0.6471 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.1466, allocations: 4 kB / 0.6471 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1466, allocations: 3.938 kB / 0.6471 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.1486, allocations: 1.38 MB / 0.6484 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1487, allocations: 85.12 kB / 0.6485 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.1487, allocations: 8.078 kB / 0.6485 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.1488, allocations: 11.94 kB / 0.6485 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.1488, allocations: 4 kB / 0.6485 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1488, allocations: 3.938 kB / 0.6485 GB, free: 14.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.664e-05/0.1488, allocations: 83.27 kB / 0.6486 GB, free: 14.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1489, allocations: 0 / 0.6486 GB, free: 14.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.1492, allocations: 44 kB / 0.6486 GB, free: 14.14 MB / 458.7 MB 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 () * Number of clocked 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 (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.0002791/0.1495, allocations: 139.2 kB / 0.6488 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1496, allocations: 69.28 kB / 0.6488 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1497, allocations: 0 / 0.6488 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.1497, allocations: 39.92 kB / 0.6489 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1499, allocations: 4.328 kB / 0.6489 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.1504, allocations: 326.5 kB / 0.6492 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1507, allocations: 0.6965 MB / 0.6499 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.1508, allocations: 7.984 kB / 0.6499 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.1508, allocations: 15.44 kB / 0.6499 GB, free: 12.78 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1508, allocations: 0 / 0.6499 GB, free: 12.78 MB / 458.7 MB Notification: Performance of Templates: time 0.003639/0.1544, allocations: 1.415 MB / 0.6513 GB, free: 11.37 MB / 458.7 MB 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)