Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.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.04412/0.04412, allocations: 9.131 MB / 28.99 MB, free: 0.8203 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.0008924/0.0008924, allocations: 98.02 kB / 35.33 MB, free: 1.078 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.001283/0.001283, allocations: 164.7 kB / 38.73 MB, free: 2.492 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 1.001/1.001, allocations: 177.2 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.004421/0.004421, allocations: 0.8183 MB / 276.5 MB, free: 0.7461 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.756/1.756, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.845e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002756/0.002785, allocations: 1.469 MB / 0.6392 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.00596, allocations: 2.651 MB / 0.6418 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.005997, allocations: 0 / 0.6418 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.007718, allocations: 0.5785 MB / 0.6424 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.007785, allocations: 19.89 kB / 0.6424 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.00779, allocations: 4 kB / 0.6424 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.008081, allocations: 170.8 kB / 0.6426 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.355e-05/0.008144, allocations: 18.5 kB / 0.6426 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.008256, allocations: 83.78 kB / 0.6427 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.008389, allocations: 63.83 kB / 0.6427 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.008403, allocations: 0 / 0.6427 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.009265, allocations: 407.3 kB / 0.6431 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.009331, allocations: 35.83 kB / 0.6432 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.009416, allocations: 63.8 kB / 0.6432 GB, free: 8.586 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.01003, allocations: 430.2 kB / 0.6436 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01003, allocations: 0 / 0.6436 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01003, allocations: 0 / 0.6436 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.01004, allocations: 0 / 0.6436 GB, free: 8.164 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006473/0.01068, allocations: 467.3 kB / 0.6441 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.01073, allocations: 15.92 kB / 0.6441 GB, free: 7.664 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.01086, allocations: 92.2 kB / 0.6442 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.01105, allocations: 227.8 kB / 0.6444 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.0111, allocations: 154.9 kB / 0.6446 GB, free: 7.172 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.01116, allocations: 162.9 kB / 0.6447 GB, free: 7.012 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.117e-05/0.01122, allocations: 101.5 kB / 0.6448 GB, free: 6.906 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.01124, allocations: 75.47 kB / 0.6449 GB, free: 6.832 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.01128, allocations: 154.9 kB / 0.645 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.01133, allocations: 154.9 kB / 0.6452 GB, free: 6.527 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.01138, allocations: 162.4 kB / 0.6453 GB, free: 6.367 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.01161, allocations: 373.1 kB / 0.6457 GB, free: 5.988 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.01169, allocations: 165.2 kB / 0.6458 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.01172, allocations: 84.14 kB / 0.6459 GB, free: 5.73 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.01175, allocations: 79.28 kB / 0.646 GB, free: 5.652 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.01179, allocations: 113.8 kB / 0.6461 GB, free: 5.531 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.01179, allocations: 0 / 0.6461 GB, free: 5.531 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 0.0001397/0.01193, allocations: 41.67 kB / 0.6461 GB, free: 5.484 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.01199, allocations: 130.7 kB / 0.6463 GB, free: 5.344 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.0123, allocations: 347 kB / 0.6466 GB, free: 4.996 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.01232, allocations: 29.7 kB / 0.6466 GB, free: 4.961 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.01239, allocations: 128.6 kB / 0.6468 GB, free: 4.832 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.01239, allocations: 0 / 0.6468 GB, free: 4.832 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.01247, allocations: 85.58 kB / 0.6468 GB, free: 4.742 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.01258, allocations: 342.7 kB / 0.6472 GB, free: 4.398 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.01266, allocations: 55.41 kB / 0.6472 GB, free: 4.344 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.249e-05/0.01274, allocations: 97.88 kB / 0.6473 GB, free: 4.23 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.01294, allocations: 209.5 kB / 0.6475 GB, free: 3.996 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01295, allocations: 0 / 0.6475 GB, free: 3.996 MB / 0.6043 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003922/0.01334, allocations: 249.3 kB / 0.6477 GB, free: 3.738 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.01335, allocations: 12 kB / 0.6478 GB, free: 3.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01336, allocations: 0 / 0.6478 GB, free: 3.727 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01338, allocations: 4 kB / 0.6478 GB, free: 3.723 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-06/0.01339, allocations: 3.938 kB / 0.6478 GB, free: 3.719 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.0134, allocations: 8.062 kB / 0.6478 GB, free: 3.711 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.01352, allocations: 43.52 kB / 0.6478 GB, free: 3.668 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.01354, allocations: 11.97 kB / 0.6478 GB, free: 3.656 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001292/0.01367, allocations: 199.8 kB / 0.648 GB, free: 3.449 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.01374, allocations: 124.9 kB / 0.6481 GB, free: 3.32 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.01379, allocations: 110.9 kB / 0.6482 GB, free: 3.199 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/0.01384, allocations: 180.3 kB / 0.6484 GB, free: 3.016 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.337e-05/0.01389, allocations: 180.2 kB / 0.6486 GB, free: 2.832 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.156e-05/0.01395, allocations: 180.2 kB / 0.6488 GB, free: 2.648 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.01418, allocations: 365.4 kB / 0.6491 GB, free: 2.262 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/0.01421, allocations: 109 kB / 0.6492 GB, free: 2.148 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.01424, allocations: 101 kB / 0.6493 GB, free: 2.043 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.729e-05/0.0143, allocations: 184.2 kB / 0.6495 GB, free: 1.855 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.01436, allocations: 180.3 kB / 0.6497 GB, free: 1.672 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.302e-05/0.01441, allocations: 188.2 kB / 0.6498 GB, free: 1.48 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.892e-05/0.01446, allocations: 180.3 kB / 0.65 GB, free: 1.297 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.0146, allocations: 315.7 kB / 0.6503 GB, free: 0.9648 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.01467, allocations: 132.8 kB / 0.6504 GB, free: 0.8281 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.01475, allocations: 184.2 kB / 0.6506 GB, free: 0.6406 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.01487, allocations: 101 kB / 0.6507 GB, free: 0.5352 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.01493, allocations: 180.2 kB / 0.6509 GB, free: 360 kB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.01497, allocations: 105 kB / 0.651 GB, free: 248 kB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001434/0.01511, allocations: 120.7 kB / 0.6511 GB, free: 132 kB / 0.6043 GB Notification: Performance of sort global known variables: time 2.2e-07/0.01511, allocations: 0 / 0.6511 GB, free: 132 kB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0004217/0.01553, allocations: 83.94 kB / 0.6512 GB, free: 48 kB / 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 (0): * Single equations (assignments): 0 * 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.0004208/0.01595, allocations: 299.4 kB / 0.6515 GB, free: 15.75 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.0161, allocations: 78.06 kB / 0.6515 GB, free: 15.67 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.01611, allocations: 0 / 0.6515 GB, free: 15.67 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-06/0.01611, allocations: 7.938 kB / 0.6515 GB, free: 15.66 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.01644, allocations: 465.1 kB / 0.652 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.01718, allocations: 448.8 kB / 0.6524 GB, free: 14.73 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.465e-05/0.01725, allocations: 95.3 kB / 0.6525 GB, free: 14.61 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 1.497e-05/0.01727, allocations: 3.984 kB / 0.6525 GB, free: 14.61 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.01732, allocations: 55.38 kB / 0.6526 GB, free: 14.55 MB / 0.6199 GB Notification: Performance of SimCode: time 1.592e-06/0.01732, allocations: 0 / 0.6526 GB, free: 14.55 MB / 0.6199 GB Notification: Performance of Templates: time 0.008134/0.02546, allocations: 4.352 MB / 0.6568 GB, free: 10.2 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.71561598777771]