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.0009892/0.0009891, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6947/0.6947, allocations: 130.5 MB / 143.8 MB, free: 13.59 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.472/1.472, allocations: 221.3 MB / 396.8 MB, free: 9.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.0008999/0.0009001, allocations: 109.7 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.202e-05, allocations: 4.469 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2169, allocations: 81.6 MB / 0.6348 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6593/0.8763, allocations: 110.3 MB / 0.7425 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.8767, allocations: 72.83 kB / 0.7425 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002935/0.8796, allocations: 0.9596 MB / 0.7435 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.925e-06/0.8796, allocations: 0 / 0.7435 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8797, allocations: 0 / 0.7435 GB, free: 28.04 MB / 0.5105 GB 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.0003379/0.88, allocations: 316 kB / 0.7438 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/0.8801, allocations: 11.41 kB / 0.7438 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.8803, allocations: 7.625 kB / 0.7438 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.8805, allocations: 165.8 kB / 0.744 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.8805, allocations: 0 / 0.744 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.8805, allocations: 3.844 kB / 0.744 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.8806, allocations: 40.62 kB / 0.744 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8806, allocations: 4 kB / 0.744 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8807, allocations: 0 / 0.744 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8807, allocations: 0 / 0.744 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.8807, allocations: 14.42 kB / 0.744 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.8809, allocations: 158.8 kB / 0.7442 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.881, allocations: 36.61 kB / 0.7442 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.8811, allocations: 17.55 kB / 0.7442 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.8811, allocations: 4 kB / 0.7442 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.8811, allocations: 30.56 kB / 0.7443 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8812, allocations: 0 / 0.7443 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001525/0.8813, allocations: 51.81 kB / 0.7443 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.8814, allocations: 55.34 kB / 0.7444 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.017e-05/0.8814, allocations: 86.5 kB / 0.7444 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.8814, allocations: 25.7 kB / 0.7445 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.8815, allocations: 80.14 kB / 0.7445 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.8815, allocations: 11.78 kB / 0.7446 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.8815, allocations: 3.844 kB / 0.7446 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8817, allocations: 312.2 kB / 0.7449 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.8817, allocations: 3.844 kB / 0.7449 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.8817, allocations: 3.75 kB / 0.7449 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.8818, allocations: 5.203 kB / 0.7449 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8818, allocations: 3.953 kB / 0.7449 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.732e-05/0.8818, allocations: 48.2 kB / 0.7449 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8819, allocations: 5.391 kB / 0.7449 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8819, allocations: 7.844 kB / 0.7449 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.8819, allocations: 0 / 0.7449 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.8823, allocations: 40.14 kB / 0.745 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.8834, allocations: 1.286 MB / 0.7462 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.8835, allocations: 8.938 kB / 0.7462 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.8835, allocations: 0 / 0.7462 GB, free: 25.18 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.8836, allocations: 114.2 kB / 0.7463 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.8836, allocations: 7.781 kB / 0.7463 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-06/0.8836, allocations: 3.5 kB / 0.7464 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.8836, allocations: 0 / 0.7464 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.8836, allocations: 1.078 kB / 0.7464 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8836, allocations: 0 / 0.7464 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.858e-05/0.8837, allocations: 156.7 kB / 0.7465 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8837, allocations: 0 / 0.7465 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.8841, allocations: 48.64 kB / 0.7465 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.8841, allocations: 0 / 0.7465 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.8841, allocations: 0 / 0.7465 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009688/0.8851, allocations: 1.285 MB / 0.7478 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.8851, allocations: 6.375 kB / 0.7478 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.234e-05/0.8852, allocations: 75.98 kB / 0.7479 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.8853, allocations: 82.41 kB / 0.748 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-06/0.8853, allocations: 0 / 0.748 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.82e-05/0.8853, allocations: 1.078 kB / 0.748 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.8853, allocations: 1.641 kB / 0.748 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.8853, allocations: 3.688 kB / 0.748 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.8854, allocations: 79.22 kB / 0.748 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8854, allocations: 0 / 0.748 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001707/0.8856, allocations: 3.844 kB / 0.748 GB, free: 23.28 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.8857, allocations: 102.3 kB / 0.7481 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.8861, allocations: 53.3 kB / 0.7482 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8861, allocations: 0 / 0.7482 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.8863, allocations: 31.42 kB / 0.7482 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.801e-05/0.8864, allocations: 3.844 kB / 0.7482 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.8866, allocations: 60.55 kB / 0.7483 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.8869, allocations: 0.6752 MB / 0.7489 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.911e-05/0.8869, allocations: 1.688 kB / 0.7489 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.887, allocations: 14.97 kB / 0.749 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.887, allocations: 4 kB / 0.749 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.002326/0.8893, allocations: 386 kB / 0.7493 GB, free: 22.36 MB / 0.5105 GB 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)