Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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/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/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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 183.2 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/package.mo): time 0.8038/0.8038, allocations: 132.2 MB / 148.9 MB, free: 12.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.51/1.51, allocations: 222.9 MB / 403.3 MB, free: 7.062 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.0009762/0.0009761, allocations: 102 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009817/0.0009819, allocations: 55.92 kB / 0.5619 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1393, allocations: 80.2 MB / 0.6402 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001842/0.1412, allocations: 0.6465 MB / 0.6408 GB, free: 6.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.1419, allocations: 350.9 kB / 0.6411 GB, free: 5.766 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.1419, allocations: 0 / 0.6411 GB, free: 5.766 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.142, allocations: 0 / 0.6411 GB, free: 5.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.819e-06/0.142, allocations: 0 / 0.6411 GB, free: 5.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.1425, allocations: 79.78 kB / 0.6412 GB, free: 5.688 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.1425, allocations: 0 / 0.6412 GB, free: 5.688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.1426, allocations: 4 kB / 0.6412 GB, free: 5.684 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.1426, allocations: 0 / 0.6412 GB, free: 5.684 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.1427, allocations: 7.922 kB / 0.6412 GB, free: 5.676 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1427, allocations: 0 / 0.6412 GB, free: 5.676 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.1431, allocations: 271.7 kB / 0.6415 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.1432, allocations: 3.984 kB / 0.6415 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.1432, allocations: 4 kB / 0.6415 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1434, allocations: 75.88 kB / 0.6416 GB, free: 5.328 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1434, allocations: 7.984 kB / 0.6416 GB, free: 5.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1434, allocations: 4 kB / 0.6416 GB, free: 5.316 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1434, allocations: 0 / 0.6416 GB, free: 5.316 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003452/0.1438, allocations: 331.6 kB / 0.6419 GB, free: 4.941 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1438, allocations: 11.97 kB / 0.6419 GB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.1439, allocations: 0.9375 kB / 0.6419 GB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.144, allocations: 164.4 kB / 0.6421 GB, free: 4.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.144, allocations: 384 / 0.6421 GB, free: 4.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.144, allocations: 4.375 kB / 0.6421 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.465e-05/0.1441, allocations: 34.2 kB / 0.6421 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1441, allocations: 192 / 0.6421 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1441, allocations: 3.938 kB / 0.6421 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1442, allocations: 0 / 0.6421 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.1442, allocations: 4 kB / 0.6421 GB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.1443, allocations: 145.7 kB / 0.6423 GB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.1444, allocations: 26.55 kB / 0.6423 GB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.1444, allocations: 4.859 kB / 0.6423 GB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.1449, allocations: 429.6 kB / 0.6427 GB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1449, allocations: 30.56 kB / 0.6427 GB, free: 3.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.1449, allocations: 3.938 kB / 0.6427 GB, free: 3.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000156/0.1451, allocations: 33.64 kB / 0.6428 GB, free: 3.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1451, allocations: 55.52 kB / 0.6428 GB, free: 3.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.02e-05/0.1452, allocations: 97.86 kB / 0.6429 GB, free: 3.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1452, allocations: 25.7 kB / 0.6429 GB, free: 3.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.105e-05/0.1452, allocations: 80.14 kB / 0.643 GB, free: 3.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1453, allocations: 3.906 kB / 0.643 GB, free: 3.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1453, allocations: 13.72 kB / 0.643 GB, free: 3.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.1454, allocations: 314.8 kB / 0.6433 GB, free: 3.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.1454, allocations: 0 / 0.6433 GB, free: 3.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.1454, allocations: 0 / 0.6433 GB, free: 3.227 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.1455, allocations: 16.86 kB / 0.6433 GB, free: 3.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1455, allocations: 0 / 0.6433 GB, free: 3.207 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.157e-05/0.1455, allocations: 33.69 kB / 0.6434 GB, free: 3.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1456, allocations: 8 kB / 0.6434 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1456, allocations: 0 / 0.6434 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1456, allocations: 3.938 kB / 0.6434 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.1456, allocations: 0 / 0.6434 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1457, allocations: 0 / 0.6434 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.1457, allocations: 0 / 0.6434 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1457, allocations: 8.031 kB / 0.6434 GB, free: 3.148 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 (1): * Single equations (assignments): 1 * 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.122e-05/0.1458, allocations: 111.2 kB / 0.6435 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.1458, allocations: 0 / 0.6435 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-05/0.1459, allocations: 44.69 kB / 0.6435 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1459, allocations: 4 kB / 0.6435 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1459, allocations: 0 / 0.6435 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1459, allocations: 0 / 0.6435 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.231e-05/0.146, allocations: 153.6 kB / 0.6437 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.146, allocations: 8.016 kB / 0.6437 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.146, allocations: 8 kB / 0.6437 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.146, allocations: 3.938 kB / 0.6437 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1461, allocations: 3.938 kB / 0.6437 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1461, allocations: 0 / 0.6437 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1461, allocations: 0 / 0.6437 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1464, allocations: 0.6045 MB / 0.6443 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.1464, allocations: 81.09 kB / 0.6444 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1464, allocations: 0 / 0.6444 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.1464, allocations: 0 / 0.6444 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.1465, allocations: 0 / 0.6444 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1465, allocations: 7.984 kB / 0.6444 GB, free: 1.984 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.407e-05/0.1465, allocations: 76.28 kB / 0.6445 GB, free: 1.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1465, allocations: 0 / 0.6445 GB, free: 1.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.1468, allocations: 8 kB / 0.6445 GB, free: 1.902 MB / 442.7 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 (1): * Single equations (assignments): 1 * 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.0001836/0.147, allocations: 108.2 kB / 0.6446 GB, free: 1.789 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.543e-05/0.1471, allocations: 11.94 kB / 0.6446 GB, free: 1.777 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1471, allocations: 0 / 0.6446 GB, free: 1.777 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-06/0.1471, allocations: 7.984 kB / 0.6446 GB, free: 1.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1472, allocations: 6.922 kB / 0.6446 GB, free: 1.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.1475, allocations: 181.6 kB / 0.6448 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1477, allocations: 0.6771 MB / 0.6454 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.972e-05/0.1478, allocations: 3.984 kB / 0.6454 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.1478, allocations: 7.438 kB / 0.6454 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1478, allocations: 4 kB / 0.6454 GB, free: 0.832 MB / 442.7 MB Notification: Performance of Templates: time 0.0022/0.15, allocations: 444.7 kB / 0.6459 GB, free: 408 kB / 442.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)