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.04111/0.04111, allocations: 9.132 MB / 28.99 MB, free: 336 kB / 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.0008478/0.0008478, allocations: 94.66 kB / 35.33 MB, free: 0.9297 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.001435/0.001435, allocations: 165.7 kB / 38.73 MB, free: 2.398 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.976/0.976, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004003/0.004003, allocations: 0.8264 MB / 276.5 MB, free: 0.7148 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.681/1.681, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.313e-06/1.313e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.863e-05, allocations: 10.19 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001144/0.001163, allocations: 0.6699 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002308/0.001394, allocations: 91.73 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.001409, allocations: 0 / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.001421, allocations: 0 / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.018e-05/0.001461, allocations: 4 kB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.00161, allocations: 11.92 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.625e-05/0.001656, allocations: 19.91 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.001688, allocations: 0 / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.001722, allocations: 4 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.001786, allocations: 4 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.001798, allocations: 0 / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.001869, allocations: 19.97 kB / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.001882, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.034e-05/0.001892, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.38e-05/0.001966, allocations: 27.91 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001968, allocations: 0 / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001969, allocations: 0 / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.001972, allocations: 0 / 0.6388 GB, free: 13.16 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.0002225/0.002194, allocations: 216.7 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.002227, allocations: 11.98 kB / 0.639 GB, free: 12.91 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.002355, allocations: 12.92 kB / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.684e-05/0.002401, allocations: 101.8 kB / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.002416, allocations: 4.312 kB / 0.6391 GB, free: 12.77 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.002423, allocations: 4.375 kB / 0.6391 GB, free: 12.76 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.002504, allocations: 58.89 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.002511, allocations: 192 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.002516, allocations: 384 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.002521, allocations: 384 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.002542, allocations: 11.92 kB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.226e-05/0.002615, allocations: 57.05 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.002687, allocations: 34.58 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.0027, allocations: 12.8 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.002709, allocations: 4 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.002727, allocations: 34.56 kB / 0.6393 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.002728, allocations: 4 kB / 0.6393 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 8.802e-05/0.002816, allocations: 37.69 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.002844, allocations: 55.41 kB / 0.6394 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.306e-05/0.002867, allocations: 89.86 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.002875, allocations: 25.7 kB / 0.6395 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.002894, allocations: 80.14 kB / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.002923, allocations: 4.297 kB / 0.6396 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.002946, allocations: 17.72 kB / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.003021, allocations: 322.8 kB / 0.6399 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.003031, allocations: 3.938 kB / 0.6399 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.003039, allocations: 8 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.965e-05/0.003068, allocations: 16.83 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00307, allocations: 0 / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.008e-05/0.00311, allocations: 37.7 kB / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.00312, allocations: 7.984 kB / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.003124, allocations: 0 / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.003137, allocations: 0 / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.003291, allocations: 19.98 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006053/0.003897, allocations: 1.212 MB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.003907, allocations: 0 / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-06/0.003909, allocations: 0 / 0.6412 GB, free: 10.43 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.801e-05/0.003967, allocations: 113.8 kB / 0.6413 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.003975, allocations: 7.984 kB / 0.6413 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-06/0.003981, allocations: 7.656 kB / 0.6413 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-07/0.003981, allocations: 0 / 0.6413 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.003984, allocations: 7.938 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.003986, allocations: 3.938 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.969e-05/0.004026, allocations: 65.84 kB / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.004027, allocations: 0 / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.004126, allocations: 27.97 kB / 0.6414 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.004127, allocations: 0 / 0.6414 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-06/0.004131, allocations: 4 kB / 0.6414 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004817/0.004613, allocations: 1.196 MB / 0.6426 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.004614, allocations: 0 / 0.6426 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.572e-05/0.00466, allocations: 61.12 kB / 0.6427 GB, free: 8.812 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-06/0.004664, allocations: 7.984 kB / 0.6427 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-06/0.004667, allocations: 128 / 0.6427 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.004677, allocations: 11.92 kB / 0.6427 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.004688, allocations: 0 / 0.6427 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.004691, allocations: 8.047 kB / 0.6427 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.973e-06/0.004698, allocations: 8.797 kB / 0.6427 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004698, allocations: 0 / 0.6427 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.766e-05/0.004795, allocations: 4 kB / 0.6427 GB, free: 8.77 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.097e-05/0.004856, allocations: 80.41 kB / 0.6428 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.004992, allocations: 40.83 kB / 0.6428 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.004994, allocations: 0 / 0.6428 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.005071, allocations: 29.11 kB / 0.6429 GB, free: 8.605 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.955e-05/0.005121, allocations: 7.938 kB / 0.6429 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001715/0.005292, allocations: 100.4 kB / 0.643 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.189e-05/0.005314, allocations: 51.36 kB / 0.643 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.005338, allocations: 8 kB / 0.643 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.005369, allocations: 51.36 kB / 0.6431 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of SimCode: time 6.61e-07/0.005369, allocations: 0 / 0.6431 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of Templates: time 0.001966/0.007335, allocations: 0.4976 MB / 0.6436 GB, free: 7.855 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.356668510939926]