Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 181.6 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.6996/0.6996, 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.479/1.479, allocations: 222.9 MB / 403.3 MB, free: 7.109 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.001006/0.001006, allocations: 109.9 kB / 484.3 MB, free: 8.742 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001024, allocations: 55.92 kB / 0.5619 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1817, allocations: 80.19 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00239/0.1841, allocations: 0.6555 MB / 0.6408 GB, free: 6.145 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.1846, allocations: 95.72 kB / 0.6409 GB, free: 6.051 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.1846, allocations: 4 kB / 0.6409 GB, free: 6.047 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.1846, allocations: 4 kB / 0.6409 GB, free: 6.043 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.1847, allocations: 0 / 0.6409 GB, free: 6.043 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1849, allocations: 11.98 kB / 0.6409 GB, free: 6.031 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.787e-05/0.185, allocations: 4 kB / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.185, allocations: 3.938 kB / 0.6409 GB, free: 6.023 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.1851, allocations: 11.94 kB / 0.6409 GB, free: 6.012 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.1851, allocations: 0 / 0.6409 GB, free: 6.012 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1852, allocations: 0 / 0.6409 GB, free: 6.012 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.1852, allocations: 15.98 kB / 0.641 GB, free: 5.996 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.1853, allocations: 11.97 kB / 0.641 GB, free: 5.984 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.1853, allocations: 4 kB / 0.641 GB, free: 5.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.1854, allocations: 15.92 kB / 0.641 GB, free: 5.965 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1854, allocations: 0 / 0.641 GB, free: 5.965 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1854, allocations: 0 / 0.641 GB, free: 5.965 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1854, allocations: 0 / 0.641 GB, free: 5.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004102/0.1858, allocations: 319.6 kB / 0.6413 GB, free: 5.602 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1859, allocations: 8.031 kB / 0.6413 GB, free: 5.594 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.1861, allocations: 12.83 kB / 0.6413 GB, free: 5.582 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1862, allocations: 172.3 kB / 0.6415 GB, free: 5.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.1863, allocations: 4.375 kB / 0.6415 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1863, allocations: 4.375 kB / 0.6415 GB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1864, allocations: 34.25 kB / 0.6415 GB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1864, allocations: 192 / 0.6415 GB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1865, allocations: 3.938 kB / 0.6415 GB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1865, allocations: 0 / 0.6415 GB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1866, allocations: 15.98 kB / 0.6415 GB, free: 5.309 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1868, allocations: 157.7 kB / 0.6417 GB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.187, allocations: 46.59 kB / 0.6417 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.187, allocations: 8.859 kB / 0.6417 GB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1871, allocations: 0 / 0.6417 GB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1871, allocations: 34.56 kB / 0.6418 GB, free: 4.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1871, allocations: 4 kB / 0.6418 GB, free: 4.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002573/0.1874, allocations: 57.61 kB / 0.6418 GB, free: 4.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1874, allocations: 55.34 kB / 0.6419 GB, free: 4.863 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.969e-05/0.1875, allocations: 89.86 kB / 0.642 GB, free: 4.766 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1875, allocations: 25.7 kB / 0.642 GB, free: 4.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.1876, allocations: 84.14 kB / 0.6421 GB, free: 4.648 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.1876, allocations: 12.12 kB / 0.6421 GB, free: 4.637 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1877, allocations: 17.7 kB / 0.6421 GB, free: 4.613 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1878, allocations: 314.8 kB / 0.6424 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.1878, allocations: 8 kB / 0.6424 GB, free: 4.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.1879, allocations: 11.92 kB / 0.6424 GB, free: 4.277 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.188, allocations: 20.84 kB / 0.6424 GB, free: 4.254 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.188, allocations: 0 / 0.6424 GB, free: 4.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001519/0.1882, allocations: 46.02 kB / 0.6425 GB, free: 4.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1882, allocations: 4 kB / 0.6425 GB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1882, allocations: 19.88 kB / 0.6425 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1883, allocations: 3.938 kB / 0.6425 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.1888, allocations: 43.92 kB / 0.6426 GB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.1903, allocations: 1.306 MB / 0.6438 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.063e-05/0.1904, allocations: 4.031 kB / 0.6438 GB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1904, allocations: 0 / 0.6438 GB, free: 2.691 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.1905, allocations: 115.1 kB / 0.6439 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.1905, allocations: 7.938 kB / 0.6439 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.1905, allocations: 7.484 kB / 0.644 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1905, allocations: 0 / 0.644 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1905, allocations: 0 / 0.644 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1906, allocations: 0 / 0.644 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1907, allocations: 161.7 kB / 0.6441 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1907, allocations: 0 / 0.6441 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.1912, allocations: 47.92 kB / 0.6442 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1912, allocations: 0 / 0.6442 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1913, allocations: 0 / 0.6442 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.1926, allocations: 1.314 MB / 0.6454 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1927, allocations: 3.984 kB / 0.6454 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.1931, allocations: 0.6201 MB / 0.646 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1932, allocations: 85.19 kB / 0.6461 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1932, allocations: 7.984 kB / 0.6461 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.1932, allocations: 3.938 kB / 0.6461 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.1933, allocations: 0 / 0.6461 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1933, allocations: 0 / 0.6461 GB, free: 56 kB / 442.7 MB Notification: Performance of sorting global known variables: time 4.98e-05/0.1933, allocations: 79.28 kB / 0.6462 GB, free: 15.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1933, allocations: 0 / 0.6462 GB, free: 15.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.1938, allocations: 4 kB / 0.6462 GB, free: 15.97 MB / 458.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.194, allocations: 103.2 kB / 0.6463 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.1946, allocations: 59.84 kB / 0.6464 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1946, allocations: 3.938 kB / 0.6464 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.1949, allocations: 47.95 kB / 0.6464 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.1951, allocations: 0 / 0.6464 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.1956, allocations: 195.4 kB / 0.6466 GB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1959, allocations: 0.677 MB / 0.6473 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.905e-05/0.1959, allocations: 8 kB / 0.6473 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.196, allocations: 7.438 kB / 0.6473 GB, free: 14.81 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.196, allocations: 0 / 0.6473 GB, free: 14.81 MB / 458.7 MB Notification: Performance of Templates: time 0.002721/0.1987, allocations: 403 kB / 0.6477 GB, free: 14.41 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)