Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001129/0.001129, allocations: 182.9 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.7425/0.7425, allocations: 133.4 MB / 150.1 MB, free: 11.12 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.469/1.469, allocations: 222.9 MB / 404.7 MB, free: 6.148 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.001084/0.001084, allocations: 95.5 kB / 485.9 MB, free: 7.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000997/0.000997, allocations: 59.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1439, allocations: 80.43 MB / 0.6422 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00232/0.1463, allocations: 0.6309 MB / 0.6428 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.1471, allocations: 342.9 kB / 0.6431 GB, free: 4.453 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.111e-05/0.1471, allocations: 0 / 0.6431 GB, free: 4.453 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.1472, allocations: 4 kB / 0.6431 GB, free: 4.449 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.1472, allocations: 4 kB / 0.6431 GB, free: 4.445 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1476, allocations: 67.84 kB / 0.6432 GB, free: 4.379 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.1477, allocations: 4 kB / 0.6432 GB, free: 4.375 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.1478, allocations: 0 / 0.6432 GB, free: 4.375 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.1478, allocations: 0 / 0.6432 GB, free: 4.375 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.409e-05/0.1478, allocations: 4 kB / 0.6432 GB, free: 4.371 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1478, allocations: 4 kB / 0.6432 GB, free: 4.367 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.1483, allocations: 279.5 kB / 0.6435 GB, free: 4.094 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1483, allocations: 4 kB / 0.6435 GB, free: 4.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.1484, allocations: 3.984 kB / 0.6435 GB, free: 4.086 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1486, allocations: 83.86 kB / 0.6435 GB, free: 4.004 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1486, allocations: 0 / 0.6435 GB, free: 4.004 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1486, allocations: 0 / 0.6435 GB, free: 4.004 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1486, allocations: 0 / 0.6435 GB, free: 4.004 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.0003584/0.149, allocations: 335.6 kB / 0.6439 GB, free: 3.625 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.149, allocations: 12.03 kB / 0.6439 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.1491, allocations: 0.9375 kB / 0.6439 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1492, allocations: 160.4 kB / 0.644 GB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1492, allocations: 4.375 kB / 0.644 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1492, allocations: 384 / 0.644 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.772e-05/0.1493, allocations: 30.27 kB / 0.6441 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1493, allocations: 192 / 0.6441 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1493, allocations: 3.938 kB / 0.6441 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1494, allocations: 0 / 0.6441 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.338e-05/0.1494, allocations: 11.92 kB / 0.6441 GB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1495, allocations: 151 kB / 0.6442 GB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.1496, allocations: 18.58 kB / 0.6442 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.1496, allocations: 4.953 kB / 0.6442 GB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/0.1501, allocations: 437.4 kB / 0.6447 GB, free: 2.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1501, allocations: 34.56 kB / 0.6447 GB, free: 2.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1501, allocations: 4 kB / 0.6447 GB, free: 2.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001481/0.1503, allocations: 41.56 kB / 0.6447 GB, free: 2.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1503, allocations: 51.41 kB / 0.6448 GB, free: 2.457 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.525e-05/0.1504, allocations: 89.86 kB / 0.6449 GB, free: 2.359 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.1504, allocations: 25.7 kB / 0.6449 GB, free: 2.328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.1504, allocations: 80.14 kB / 0.645 GB, free: 2.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1505, allocations: 11.91 kB / 0.645 GB, free: 2.234 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.1505, allocations: 9.719 kB / 0.645 GB, free: 2.219 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.1506, allocations: 315 kB / 0.6453 GB, free: 1.902 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.1506, allocations: 0 / 0.6453 GB, free: 1.902 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.1506, allocations: 4 kB / 0.6453 GB, free: 1.898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.1507, allocations: 4.859 kB / 0.6453 GB, free: 1.891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1507, allocations: 0 / 0.6453 GB, free: 1.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.541e-05/0.1507, allocations: 45.62 kB / 0.6453 GB, free: 1.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.1508, allocations: 4 kB / 0.6453 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1508, allocations: 0 / 0.6453 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1508, allocations: 8.031 kB / 0.6454 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.039e-05/0.1509, allocations: 4 kB / 0.6454 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1509, allocations: 0 / 0.6454 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.1509, allocations: 0 / 0.6454 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1509, allocations: 0 / 0.6454 GB, free: 1.824 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 5.98e-05/0.151, allocations: 109.8 kB / 0.6455 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.151, allocations: 3.984 kB / 0.6455 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/0.1511, allocations: 40.77 kB / 0.6455 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1511, allocations: 3.938 kB / 0.6455 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1511, allocations: 0 / 0.6455 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1511, allocations: 0 / 0.6455 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.182e-05/0.1512, allocations: 153.7 kB / 0.6457 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1512, allocations: 0 / 0.6457 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.1512, allocations: 0 / 0.6457 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1512, allocations: 0 / 0.6457 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1512, allocations: 3.938 kB / 0.6457 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1512, allocations: 4 kB / 0.6457 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1513, allocations: 3.938 kB / 0.6457 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.1516, allocations: 0.6006 MB / 0.6463 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.1516, allocations: 77.11 kB / 0.6463 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1516, allocations: 11.98 kB / 0.6463 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.1516, allocations: 0 / 0.6463 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.1516, allocations: 0 / 0.6463 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1517, allocations: 0 / 0.6463 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.1517, allocations: 83.25 kB / 0.6464 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1517, allocations: 0 / 0.6464 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.152, allocations: 12 kB / 0.6464 GB, free: 0.5859 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.0001594/0.1522, allocations: 107.2 kB / 0.6465 GB, free: 484 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.922e-05/0.1522, allocations: 7.984 kB / 0.6465 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1523, allocations: 0 / 0.6465 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.1523, allocations: 3.938 kB / 0.6465 GB, free: 472 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.1524, allocations: 12.06 kB / 0.6466 GB, free: 460 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.1527, allocations: 178.9 kB / 0.6467 GB, free: 244 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1529, allocations: 0.677 MB / 0.6474 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.1529, allocations: 3.984 kB / 0.6474 GB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.153, allocations: 7.438 kB / 0.6474 GB, free: 15.52 MB / 458.7 MB Notification: Performance of SimCode: time 3.2e-07/0.153, allocations: 3.938 kB / 0.6474 GB, free: 15.52 MB / 458.7 MB Notification: Performance of Templates: time 0.002083/0.1551, allocations: 454.2 kB / 0.6478 GB, free: 15.08 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)