Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03946/0.03946, allocations: 9.129 MB / 28.99 MB, free: 0.8281 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000832/0.000832, allocations: 87.28 kB / 35.33 MB, free: 1.09 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009756/0.0009756, allocations: 164.7 kB / 38.73 MB, free: 2.5 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9636/0.9636, allocations: 177.1 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003872/0.003872, allocations: 0.8249 MB / 276.5 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.581/1.581, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(AixLib.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.278e-05, allocations: 10.25 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001016/0.001029, allocations: 0.6306 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.001229, allocations: 87.73 kB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.001242, allocations: 0 / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.001253, allocations: 0 / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.00129, allocations: 0 / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.001454, allocations: 19.91 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.669e-05/0.001491, allocations: 4 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 2.766e-05/0.001518, allocations: 4 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.001544, allocations: 4 kB / 0.6387 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.00161, allocations: 11.97 kB / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.001621, allocations: 3.938 kB / 0.6387 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.756e-05/0.001668, allocations: 15.98 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.00168, allocations: 0 / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.037e-06/0.001689, allocations: 0 / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.734e-05/0.001756, allocations: 19.92 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.001758, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.91e-07/0.001758, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.001761, allocations: 0 / 0.6387 GB, free: 13.28 MB / 0.6043 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.0001957/0.001956, allocations: 220.7 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.001987, allocations: 15.98 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.709e-05/0.002084, allocations: 12.92 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.397e-05/0.002138, allocations: 109.7 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.002151, allocations: 384 / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.002159, allocations: 4.375 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.539e-05/0.002234, allocations: 46.95 kB / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.002239, allocations: 192 / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-06/0.002245, allocations: 384 / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-06/0.002248, allocations: 384 / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.00227, allocations: 11.92 kB / 0.6391 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.784e-05/0.002337, allocations: 61.05 kB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/0.002402, allocations: 38.53 kB / 0.6392 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.002415, allocations: 8.859 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.002424, allocations: 0 / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.002441, allocations: 34.56 kB / 0.6392 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.002442, allocations: 0 / 0.6392 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 7.302e-05/0.002515, allocations: 41.62 kB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.002541, allocations: 55.41 kB / 0.6393 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.364e-05/0.002565, allocations: 89.86 kB / 0.6394 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.002573, allocations: 29.64 kB / 0.6394 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.798e-05/0.002591, allocations: 88.14 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.002615, allocations: 8.281 kB / 0.6395 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.002637, allocations: 17.7 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.62e-05/0.002703, allocations: 314.8 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.002711, allocations: 4 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-06/0.002718, allocations: 4 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.002741, allocations: 12.84 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.002743, allocations: 0 / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.556e-05/0.002778, allocations: 37.7 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.002788, allocations: 7.984 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.002791, allocations: 4 kB / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.002799, allocations: 0 / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.002928, allocations: 23.92 kB / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005542/0.003482, allocations: 1.2 MB / 0.6411 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.261e-05/0.003495, allocations: 11.97 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.003498, allocations: 0 / 0.6411 GB, free: 10.55 MB / 0.6043 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 () * 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 5.111e-05/0.003549, allocations: 109.8 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-06/0.003555, allocations: 3.984 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-06/0.003561, allocations: 3.531 kB / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.003563, allocations: 4 kB / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.003565, allocations: 3.938 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.003567, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.341e-05/0.003611, allocations: 73.83 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.003612, allocations: 8 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.003707, allocations: 23.97 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.003709, allocations: 4 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-06/0.003713, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004696/0.004182, allocations: 1.196 MB / 0.6425 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.004183, allocations: 0 / 0.6425 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.298e-05/0.004226, allocations: 61.12 kB / 0.6426 GB, free: 8.93 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-06/0.004229, allocations: 0 / 0.6426 GB, free: 8.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-06/0.004232, allocations: 4.047 kB / 0.6426 GB, free: 8.926 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.004243, allocations: 11.86 kB / 0.6426 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.004257, allocations: 7.922 kB / 0.6426 GB, free: 8.906 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.004259, allocations: 0 / 0.6426 GB, free: 8.906 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.444e-06/0.004267, allocations: 12.86 kB / 0.6426 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004267, allocations: 4.062 kB / 0.6426 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.875e-05/0.004366, allocations: 0 / 0.6426 GB, free: 8.887 MB / 0.6043 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 () * 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 6.697e-05/0.004433, allocations: 76.42 kB / 0.6427 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.004561, allocations: 32.83 kB / 0.6427 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.004563, allocations: 4 kB / 0.6427 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.00464, allocations: 37.05 kB / 0.6428 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.561e-05/0.004685, allocations: 8 kB / 0.6428 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001633/0.004849, allocations: 96.39 kB / 0.6429 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.301e-05/0.004872, allocations: 55.36 kB / 0.6429 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.004889, allocations: 0 / 0.6429 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.00492, allocations: 55.36 kB / 0.643 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of SimCode: time 6.41e-07/0.00492, allocations: 0 / 0.643 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of Templates: time 0.001666/0.006587, allocations: 0.5015 MB / 0.6435 GB, free: 7.973 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.29181738011539]