Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel.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.04286/0.04286, allocations: 9.131 MB / 28.99 MB, free: 344 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.0009581/0.0009581, allocations: 98.64 kB / 35.33 MB, free: 0.9336 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.001201/0.001201, allocations: 165 kB / 38.73 MB, free: 2.406 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.036/1.036, 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.004392/0.004392, allocations: 0.83 MB / 276.5 MB, free: 0.7188 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.757/1.757, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel") translateModel(AixLib.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.279e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.DC.Lines.Examples.RCModel): time 0.005792/0.005815, allocations: 3.292 MB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.007818, allocations: 1.281 MB / 0.6423 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.008007, allocations: 11.94 kB / 0.6423 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.008529, allocations: 127.2 kB / 0.6424 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.008931, allocations: 242.4 kB / 0.6427 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.009322, allocations: 203.5 kB / 0.6429 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0006173/0.009939, allocations: 0.6305 MB / 0.6435 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.01035, allocations: 350 kB / 0.6438 GB, free: 8.012 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.01072, allocations: 343.3 kB / 0.6441 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.01113, allocations: 239.4 kB / 0.6444 GB, free: 7.441 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.01118, allocations: 36 kB / 0.6444 GB, free: 7.406 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.01138, allocations: 111.7 kB / 0.6445 GB, free: 7.297 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.01151, allocations: 163.5 kB / 0.6447 GB, free: 7.137 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.01163, allocations: 155.7 kB / 0.6448 GB, free: 6.984 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.01205, allocations: 398.7 kB / 0.6452 GB, free: 6.594 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01205, allocations: 0 / 0.6452 GB, free: 6.594 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01205, allocations: 3.938 kB / 0.6452 GB, free: 6.59 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.01206, allocations: 4 kB / 0.6452 GB, free: 6.586 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007525/0.01281, allocations: 0.6241 MB / 0.6458 GB, free: 5.934 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.01284, allocations: 11.98 kB / 0.6458 GB, free: 5.922 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.01344, allocations: 192.6 kB / 0.646 GB, free: 5.734 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.01375, allocations: 260.5 kB / 0.6462 GB, free: 5.457 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.01377, allocations: 21.38 kB / 0.6463 GB, free: 5.438 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.01382, allocations: 40.36 kB / 0.6463 GB, free: 5.398 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.01421, allocations: 493.8 kB / 0.6468 GB, free: 4.84 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01422, allocations: 4.188 kB / 0.6468 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.01425, allocations: 20.31 kB / 0.6468 GB, free: 4.816 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.01429, allocations: 36.58 kB / 0.6468 GB, free: 4.781 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.01443, allocations: 112.4 kB / 0.6469 GB, free: 4.676 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01564, allocations: 1.426 MB / 0.6483 GB, free: 3.195 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.01588, allocations: 153.3 kB / 0.6485 GB, free: 3.035 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.01594, allocations: 53.16 kB / 0.6485 GB, free: 2.98 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.01595, allocations: 8 kB / 0.6485 GB, free: 2.973 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.01597, allocations: 34.52 kB / 0.6486 GB, free: 2.93 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.01597, allocations: 0 / 0.6486 GB, free: 2.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=20): time 0.0005709/0.01654, allocations: 274.6 kB / 0.6488 GB, free: 2.648 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.01658, allocations: 63.28 kB / 0.6489 GB, free: 2.574 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.01676, allocations: 252.9 kB / 0.6491 GB, free: 2.312 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.01678, allocations: 29.7 kB / 0.6492 GB, free: 2.277 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01689, allocations: 224 kB / 0.6494 GB, free: 2.055 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.01693, allocations: 71.41 kB / 0.6494 GB, free: 1.984 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.01701, allocations: 57.64 kB / 0.6495 GB, free: 1.922 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.01713, allocations: 338.8 kB / 0.6498 GB, free: 1.582 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.01717, allocations: 27.98 kB / 0.6498 GB, free: 1.555 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.01727, allocations: 118 kB / 0.65 GB, free: 1.402 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.01744, allocations: 172.9 kB / 0.6501 GB, free: 1.195 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01744, allocations: 0 / 0.6501 GB, free: 1.195 MB / 0.6043 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002618/0.0177, allocations: 218.8 kB / 0.6503 GB, free: 0.9688 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01772, allocations: 8 kB / 0.6503 GB, free: 0.9609 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01772, allocations: 352 / 0.6503 GB, free: 0.9609 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.01795, allocations: 77.64 kB / 0.6504 GB, free: 0.8789 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.0181, allocations: 63.91 kB / 0.6505 GB, free: 0.8164 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.01932, allocations: 2.414 MB / 0.6528 GB, free: 14.21 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01943, allocations: 31.81 kB / 0.6529 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.01944, allocations: 8 kB / 0.6529 GB, free: 14.17 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.949e-05/0.01954, allocations: 128.6 kB / 0.653 GB, free: 14.03 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.01957, allocations: 23.97 kB / 0.653 GB, free: 14.01 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.01961, allocations: 38.11 kB / 0.6531 GB, free: 13.97 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.01961, allocations: 7.938 kB / 0.6531 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01961, allocations: 0 / 0.6531 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01962, allocations: 0 / 0.6531 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.01981, allocations: 181.6 kB / 0.6532 GB, free: 13.77 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01981, allocations: 0 / 0.6532 GB, free: 13.77 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.0199, allocations: 39.91 kB / 0.6533 GB, free: 13.73 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/0.02007, allocations: 65.66 kB / 0.6533 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.02008, allocations: 4 kB / 0.6533 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.02112, allocations: 2.413 MB / 0.6557 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02112, allocations: 0 / 0.6557 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.02137, allocations: 278.6 kB / 0.656 GB, free: 10.75 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.02143, allocations: 39.73 kB / 0.656 GB, free: 10.71 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.02145, allocations: 8 kB / 0.656 GB, free: 10.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.02153, allocations: 11.92 kB / 0.656 GB, free: 10.69 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.02156, allocations: 20.08 kB / 0.656 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.02156, allocations: 0 / 0.656 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.02163, allocations: 86.77 kB / 0.6561 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6e-08/0.02163, allocations: 0 / 0.6561 GB, free: 10.59 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002613/0.02189, allocations: 107.8 kB / 0.6562 GB, free: 10.48 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.022, allocations: 96.27 kB / 0.6563 GB, free: 10.38 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.02235, allocations: 358 kB / 0.6567 GB, free: 10 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.02236, allocations: 4 kB / 0.6567 GB, free: 9.996 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.02255, allocations: 293.6 kB / 0.6569 GB, free: 9.684 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.02286, allocations: 69.44 kB / 0.657 GB, free: 9.613 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.0239, allocations: 0.6464 MB / 0.6576 GB, free: 8.93 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.84e-05/0.02399, allocations: 124.6 kB / 0.6578 GB, free: 8.789 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.000104/0.02409, allocations: 30.97 kB / 0.6578 GB, free: 8.762 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.02423, allocations: 119.3 kB / 0.6579 GB, free: 8.645 MB / 0.6199 GB Notification: Performance of SimCode: time 7.52e-07/0.02423, allocations: 0 / 0.6579 GB, free: 8.645 MB / 0.6199 GB Notification: Performance of Templates: time 0.006429/0.03066, allocations: 4.089 MB / 0.6619 GB, free: 4.551 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel.sim & ./AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.847870289813727]