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.04422/0.04422, allocations: 9.129 MB / 28.99 MB, free: 0.8086 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.0009386/0.0009386, allocations: 95.14 kB / 35.33 MB, free: 1.066 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.001268/0.001268, allocations: 163.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 1.017/1.017, 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.004249/0.004249, allocations: 0.8333 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.766/1.766, 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.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 2.635e-06/2.635e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.735e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003434/0.003472, allocations: 1.516 MB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00384/0.007311, allocations: 2.647 MB / 0.6419 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.007353, allocations: 0 / 0.6419 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.009443, allocations: 0.5784 MB / 0.6425 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.009529, allocations: 19.91 kB / 0.6425 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.639e-06/0.009534, allocations: 0 / 0.6425 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.009824, allocations: 174.8 kB / 0.6427 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.0099, allocations: 18.5 kB / 0.6427 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.01003, allocations: 79.8 kB / 0.6428 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.01018, allocations: 63.83 kB / 0.6428 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.01019, allocations: 0 / 0.6428 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.01124, allocations: 427.3 kB / 0.6432 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.051e-05/0.01133, allocations: 43.77 kB / 0.6433 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.01143, allocations: 51.88 kB / 0.6433 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0009518/0.01238, allocations: 430.2 kB / 0.6437 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.01239, allocations: 0 / 0.6437 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.886e-06/0.01239, allocations: 0 / 0.6437 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.0124, allocations: 0 / 0.6437 GB, free: 8.062 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.001076/0.01348, allocations: 467.2 kB / 0.6442 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 7.237e-05/0.01355, allocations: 15.98 kB / 0.6442 GB, free: 7.562 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.01377, allocations: 88.2 kB / 0.6443 GB, free: 7.477 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.01406, allocations: 235.8 kB / 0.6445 GB, free: 7.219 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.01413, allocations: 150.9 kB / 0.6447 GB, free: 7.07 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.01421, allocations: 154.9 kB / 0.6448 GB, free: 6.918 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.17e-05/0.0143, allocations: 105.5 kB / 0.6449 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.01434, allocations: 79.47 kB / 0.645 GB, free: 6.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.0144, allocations: 154.9 kB / 0.6451 GB, free: 6.578 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.01447, allocations: 150.9 kB / 0.6453 GB, free: 6.43 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.01454, allocations: 162.5 kB / 0.6454 GB, free: 6.27 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.01488, allocations: 377.1 kB / 0.6458 GB, free: 5.887 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.01501, allocations: 177.2 kB / 0.646 GB, free: 5.703 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.01505, allocations: 84.08 kB / 0.646 GB, free: 5.617 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.0151, allocations: 75.28 kB / 0.6461 GB, free: 5.543 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/0.01516, allocations: 105.8 kB / 0.6462 GB, free: 5.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.01516, allocations: 0 / 0.6462 GB, free: 5.43 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 0.000234/0.01539, allocations: 41.69 kB / 0.6463 GB, free: 5.383 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/0.01547, allocations: 126.7 kB / 0.6464 GB, free: 5.246 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.01591, allocations: 343 kB / 0.6467 GB, free: 4.902 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01593, allocations: 33.64 kB / 0.6467 GB, free: 4.863 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.016, allocations: 132.5 kB / 0.6469 GB, free: 4.73 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.016, allocations: 0 / 0.6469 GB, free: 4.73 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.01611, allocations: 93.56 kB / 0.6469 GB, free: 4.633 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01626, allocations: 338.7 kB / 0.6473 GB, free: 4.293 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.01636, allocations: 51.48 kB / 0.6473 GB, free: 4.242 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.01674, allocations: 101.9 kB / 0.6474 GB, free: 4.125 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.01698, allocations: 209.5 kB / 0.6476 GB, free: 3.891 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.01699, allocations: 0 / 0.6476 GB, free: 3.891 MB / 0.6043 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005883/0.01758, allocations: 257 kB / 0.6479 GB, free: 3.625 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.01762, allocations: 4 kB / 0.6479 GB, free: 3.621 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.01764, allocations: 4.219 kB / 0.6479 GB, free: 3.617 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.01767, allocations: 4 kB / 0.6479 GB, free: 3.613 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-06/0.01767, allocations: 4 kB / 0.6479 GB, free: 3.609 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.01768, allocations: 0 / 0.6479 GB, free: 3.609 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.01791, allocations: 51.45 kB / 0.6479 GB, free: 3.559 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01792, allocations: 0 / 0.6479 GB, free: 3.559 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.0002181/0.01814, allocations: 207.8 kB / 0.6481 GB, free: 3.344 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.01823, allocations: 108.9 kB / 0.6482 GB, free: 3.23 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.01832, allocations: 114.9 kB / 0.6483 GB, free: 3.105 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.996e-05/0.0184, allocations: 180.2 kB / 0.6485 GB, free: 2.922 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.7e-05/0.01848, allocations: 180.3 kB / 0.6487 GB, free: 2.738 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-05/0.01856, allocations: 188.3 kB / 0.6489 GB, free: 2.547 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.01891, allocations: 373.3 kB / 0.6492 GB, free: 2.156 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.251e-05/0.01897, allocations: 105 kB / 0.6493 GB, free: 2.047 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.01902, allocations: 104.9 kB / 0.6494 GB, free: 1.938 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.897e-05/0.0191, allocations: 180.3 kB / 0.6496 GB, free: 1.754 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/0.01917, allocations: 176.3 kB / 0.6498 GB, free: 1.574 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.759e-05/0.01925, allocations: 188.2 kB / 0.6499 GB, free: 1.383 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.125e-05/0.01932, allocations: 180.3 kB / 0.6501 GB, free: 1.199 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.01952, allocations: 315.7 kB / 0.6504 GB, free: 0.8672 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.01962, allocations: 128.8 kB / 0.6505 GB, free: 0.7344 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.01973, allocations: 184.2 kB / 0.6507 GB, free: 0.5469 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01988, allocations: 105 kB / 0.6508 GB, free: 448 kB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.01996, allocations: 180.2 kB / 0.651 GB, free: 260 kB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.02, allocations: 101 kB / 0.6511 GB, free: 152 kB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001784/0.02018, allocations: 128.7 kB / 0.6512 GB, free: 28 kB / 0.6043 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02018, allocations: 0 / 0.6512 GB, free: 28 kB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0005985/0.02078, allocations: 80.02 kB / 0.6513 GB, free: 15.95 MB / 0.6199 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.0006117/0.02139, allocations: 299.3 kB / 0.6516 GB, free: 15.65 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.02164, allocations: 82 kB / 0.6516 GB, free: 15.57 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/0.02165, allocations: 4 kB / 0.6516 GB, free: 15.56 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.02166, allocations: 0 / 0.6516 GB, free: 15.56 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.02207, allocations: 469.1 kB / 0.6521 GB, free: 15.1 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.02314, allocations: 452.3 kB / 0.6525 GB, free: 14.62 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.02324, allocations: 87.73 kB / 0.6526 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.02326, allocations: 4 kB / 0.6526 GB, free: 14.51 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.02335, allocations: 63.36 kB / 0.6527 GB, free: 14.45 MB / 0.6199 GB Notification: Performance of SimCode: time 3.076e-06/0.02335, allocations: 3.938 kB / 0.6527 GB, free: 14.45 MB / 0.6199 GB Notification: Performance of Templates: time 0.009809/0.03316, allocations: 4.341 MB / 0.6569 GB, free: 10.1 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.717904158402234]