Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0406/0.0406, allocations: 9.129 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.0007271/0.0007271, allocations: 95.2 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.00155/0.00155, allocations: 164.8 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.018/1.018, 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.0112/0.0112, allocations: 0.8294 MB / 276.5 MB, free: 0.7266 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.834/1.834, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.585e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.0056/0.005626, allocations: 1.509 MB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.005199/0.01083, allocations: 1.931 MB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.01086, allocations: 0 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.01193, allocations: 361.6 kB / 0.6416 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.01199, allocations: 27.84 kB / 0.6416 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 3.356e-06/0.01199, allocations: 0 / 0.6416 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.01223, allocations: 127.1 kB / 0.6417 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.01228, allocations: 14.27 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.01238, allocations: 59.81 kB / 0.6418 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.01249, allocations: 51.89 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.01251, allocations: 4 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.01296, allocations: 195.8 kB / 0.642 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.01301, allocations: 23.91 kB / 0.642 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.01308, allocations: 55.84 kB / 0.6421 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.01348, allocations: 286.9 kB / 0.6424 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01348, allocations: 0 / 0.6424 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.31e-07/0.01348, allocations: 0 / 0.6424 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.01348, allocations: 0 / 0.6424 GB, free: 9.477 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.003606/0.01709, allocations: 391.8 kB / 0.6427 GB, free: 9.07 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.01713, allocations: 19.92 kB / 0.6428 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.01725, allocations: 92.2 kB / 0.6429 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.01741, allocations: 224.4 kB / 0.6431 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.01771, allocations: 154.9 kB / 0.6432 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.01776, allocations: 154.9 kB / 0.6434 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.102e-05/0.01782, allocations: 113.5 kB / 0.6435 GB, free: 8.289 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.01785, allocations: 75.47 kB / 0.6435 GB, free: 8.215 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.01789, allocations: 154.7 kB / 0.6437 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.01793, allocations: 150.6 kB / 0.6438 GB, free: 7.914 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.01798, allocations: 154.6 kB / 0.644 GB, free: 7.762 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.01823, allocations: 369.2 kB / 0.6443 GB, free: 7.387 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.01832, allocations: 177.1 kB / 0.6445 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.01834, allocations: 80.14 kB / 0.6446 GB, free: 7.121 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.01837, allocations: 79.27 kB / 0.6447 GB, free: 7.043 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.01842, allocations: 105.8 kB / 0.6448 GB, free: 6.93 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.01842, allocations: 0 / 0.6448 GB, free: 6.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 0.000155/0.01857, allocations: 41.69 kB / 0.6448 GB, free: 6.883 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.01862, allocations: 126.7 kB / 0.6449 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.01886, allocations: 268.7 kB / 0.6452 GB, free: 6.473 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.01887, allocations: 29.7 kB / 0.6452 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.01892, allocations: 112.5 kB / 0.6453 GB, free: 6.324 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.01892, allocations: 0 / 0.6453 GB, free: 6.324 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.01898, allocations: 61.64 kB / 0.6454 GB, free: 6.258 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.01908, allocations: 330.8 kB / 0.6457 GB, free: 5.926 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.01914, allocations: 30.81 kB / 0.6457 GB, free: 5.895 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.01922, allocations: 81.95 kB / 0.6458 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.01938, allocations: 149.6 kB / 0.6459 GB, free: 5.617 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01938, allocations: 0 / 0.6459 GB, free: 5.617 MB / 0.6043 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003466/0.01973, allocations: 181.3 kB / 0.6461 GB, free: 5.426 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01975, allocations: 4 kB / 0.6461 GB, free: 5.422 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.01976, allocations: 4 kB / 0.6461 GB, free: 5.418 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01977, allocations: 3.984 kB / 0.6461 GB, free: 5.414 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/0.01978, allocations: 4.219 kB / 0.6461 GB, free: 5.41 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01978, allocations: 7.938 kB / 0.6461 GB, free: 5.402 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.01989, allocations: 35.61 kB / 0.6462 GB, free: 5.367 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.0199, allocations: 7.984 kB / 0.6462 GB, free: 5.359 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.0001157/0.02002, allocations: 195.9 kB / 0.6464 GB, free: 5.156 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.02008, allocations: 109 kB / 0.6465 GB, free: 5.043 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.02013, allocations: 121.6 kB / 0.6466 GB, free: 4.922 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/0.02019, allocations: 184.2 kB / 0.6468 GB, free: 4.734 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.849e-05/0.02025, allocations: 180.2 kB / 0.6469 GB, free: 4.551 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.378e-05/0.02031, allocations: 184.2 kB / 0.6471 GB, free: 4.363 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.02052, allocations: 349.3 kB / 0.6474 GB, free: 3.996 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/0.02056, allocations: 109 kB / 0.6475 GB, free: 3.883 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.02058, allocations: 101 kB / 0.6476 GB, free: 3.777 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.315e-05/0.02064, allocations: 180.2 kB / 0.6478 GB, free: 3.594 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.02069, allocations: 180.3 kB / 0.648 GB, free: 3.41 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.973e-05/0.02074, allocations: 180.2 kB / 0.6481 GB, free: 3.227 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-05/0.0208, allocations: 176.3 kB / 0.6483 GB, free: 3.047 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.02093, allocations: 319.7 kB / 0.6486 GB, free: 2.711 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.021, allocations: 120.8 kB / 0.6487 GB, free: 2.582 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/0.02107, allocations: 184.2 kB / 0.6489 GB, free: 2.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.02119, allocations: 113 kB / 0.649 GB, free: 2.277 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.02125, allocations: 180.6 kB / 0.6492 GB, free: 2.094 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.02128, allocations: 104.9 kB / 0.6493 GB, free: 1.984 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.02138, allocations: 82.77 kB / 0.6494 GB, free: 1.898 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.02138, allocations: 4 kB / 0.6494 GB, free: 1.895 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003311/0.02171, allocations: 59.94 kB / 0.6494 GB, free: 1.836 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 (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.000307/0.02202, allocations: 267.5 kB / 0.6497 GB, free: 1.562 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.02214, allocations: 64.81 kB / 0.6498 GB, free: 1.496 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.02215, allocations: 4 kB / 0.6498 GB, free: 1.492 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.02215, allocations: 0 / 0.6498 GB, free: 1.492 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.02246, allocations: 464 kB / 0.6502 GB, free: 1.035 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.02338, allocations: 355.9 kB / 0.6505 GB, free: 0.6602 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.02343, allocations: 79.31 kB / 0.6506 GB, free: 0.5625 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.335e-05/0.02345, allocations: 0 / 0.6506 GB, free: 0.5625 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.02349, allocations: 55.69 kB / 0.6507 GB, free: 0.5078 MB / 0.6043 GB Notification: Performance of SimCode: time 5.61e-07/0.0235, allocations: 4 kB / 0.6507 GB, free: 0.5039 MB / 0.6043 GB Notification: Performance of Templates: time 0.006032/0.02953, allocations: 2.784 MB / 0.6534 GB, free: 13.72 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6861152411438525]