Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.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.04087/0.04087, 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.0008633/0.0008633, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.001248/0.001248, allocations: 163.6 kB / 38.73 MB, free: 2.508 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.9643/0.9643, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.00412/0.00412, allocations: 0.8261 MB / 276.5 MB, free: 0.7227 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.641/1.641, 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.85e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006624/0.006642, allocations: 2.659 MB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.005265/0.01191, allocations: 1.592 MB / 0.642 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.01201, allocations: 11.94 kB / 0.642 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.0125, allocations: 135.4 kB / 0.6421 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.01282, allocations: 171 kB / 0.6423 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.01322, allocations: 235 kB / 0.6425 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000624/0.01385, allocations: 334.9 kB / 0.6429 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.0141, allocations: 155 kB / 0.643 GB, free: 8.812 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.01436, allocations: 191.6 kB / 0.6432 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.0146, allocations: 135.6 kB / 0.6433 GB, free: 8.492 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.01463, allocations: 20 kB / 0.6433 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.01507, allocations: 327.2 kB / 0.6436 GB, free: 8.152 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.01517, allocations: 95.72 kB / 0.6437 GB, free: 8.059 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.01525, allocations: 79.83 kB / 0.6438 GB, free: 7.98 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.01572, allocations: 382.8 kB / 0.6442 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01572, allocations: 0 / 0.6442 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.01e-07/0.01572, allocations: 4 kB / 0.6442 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.01573, allocations: 0 / 0.6442 GB, free: 7.602 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002577/0.0183, allocations: 467.4 kB / 0.6446 GB, free: 7.121 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.01834, allocations: 11.98 kB / 0.6446 GB, free: 7.109 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.01884, allocations: 140.7 kB / 0.6448 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.01905, allocations: 197.3 kB / 0.645 GB, free: 6.754 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.01906, allocations: 16.88 kB / 0.645 GB, free: 6.738 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.01909, allocations: 20.38 kB / 0.645 GB, free: 6.719 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.01938, allocations: 271.9 kB / 0.6453 GB, free: 6.414 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.01939, allocations: 192 / 0.6453 GB, free: 6.414 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.01942, allocations: 12.36 kB / 0.6453 GB, free: 6.402 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.01945, allocations: 28.42 kB / 0.6453 GB, free: 6.375 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.01958, allocations: 75.39 kB / 0.6454 GB, free: 6.297 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.02056, allocations: 1.034 MB / 0.6464 GB, free: 5.215 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.02076, allocations: 182.6 kB / 0.6466 GB, free: 5.016 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.02081, allocations: 37.7 kB / 0.6466 GB, free: 4.973 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.02085, allocations: 15.98 kB / 0.6466 GB, free: 4.957 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.02087, allocations: 30.56 kB / 0.6466 GB, free: 4.918 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.02087, allocations: 4 kB / 0.6466 GB, free: 4.914 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16): time 0.0005615/0.02143, allocations: 245 kB / 0.6469 GB, free: 4.66 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.02147, allocations: 81.11 kB / 0.6469 GB, free: 4.562 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.02158, allocations: 191.5 kB / 0.6471 GB, free: 4.363 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.0216, allocations: 33.64 kB / 0.6472 GB, free: 4.324 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.02167, allocations: 168.1 kB / 0.6473 GB, free: 4.156 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.0217, allocations: 55.47 kB / 0.6474 GB, free: 4.102 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.02176, allocations: 61.62 kB / 0.6474 GB, free: 4.035 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.02185, allocations: 326.8 kB / 0.6477 GB, free: 3.707 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.02188, allocations: 23.98 kB / 0.6478 GB, free: 3.684 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.02196, allocations: 101.4 kB / 0.6479 GB, free: 3.551 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.0221, allocations: 160 kB / 0.648 GB, free: 3.359 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0221, allocations: 0 / 0.648 GB, free: 3.359 MB / 0.6043 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002694/0.02237, allocations: 200.1 kB / 0.6482 GB, free: 3.152 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.02239, allocations: 8 kB / 0.6482 GB, free: 3.145 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.02239, allocations: 0 / 0.6482 GB, free: 3.145 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.02266, allocations: 79.62 kB / 0.6483 GB, free: 3.059 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.02278, allocations: 43.92 kB / 0.6483 GB, free: 3.016 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.02392, allocations: 1.731 MB / 0.65 GB, free: 1.152 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.02399, allocations: 31.81 kB / 0.6501 GB, free: 1.121 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.02401, allocations: 15.98 kB / 0.6501 GB, free: 1.105 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/0.02411, allocations: 124.6 kB / 0.6502 GB, free: 0.9727 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.02415, allocations: 23.92 kB / 0.6502 GB, free: 0.9492 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.02441, allocations: 166.3 kB / 0.6504 GB, free: 0.7734 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02441, allocations: 8 kB / 0.6504 GB, free: 0.7656 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.02441, allocations: 3.938 kB / 0.6504 GB, free: 0.7617 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.02442, allocations: 0 / 0.6504 GB, free: 0.7617 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.02491, allocations: 0.5078 MB / 0.6509 GB, free: 204 kB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02492, allocations: 0 / 0.6509 GB, free: 204 kB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.02497, allocations: 23.98 kB / 0.6509 GB, free: 180 kB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.02514, allocations: 79.39 kB / 0.651 GB, free: 92 kB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.02515, allocations: 4 kB / 0.651 GB, free: 88 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007666/0.02592, allocations: 1.739 MB / 0.6527 GB, free: 14.22 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02592, allocations: 0 / 0.6527 GB, free: 14.22 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.02619, allocations: 462.8 kB / 0.6531 GB, free: 13.72 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.02623, allocations: 35.83 kB / 0.6532 GB, free: 13.69 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.02625, allocations: 0 / 0.6532 GB, free: 13.69 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.02634, allocations: 12 kB / 0.6532 GB, free: 13.68 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.02637, allocations: 19.91 kB / 0.6532 GB, free: 13.66 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.02638, allocations: 4 kB / 0.6532 GB, free: 13.65 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.02643, allocations: 56.92 kB / 0.6532 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02643, allocations: 4 kB / 0.6532 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002474/0.02667, allocations: 83.81 kB / 0.6533 GB, free: 13.51 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.02681, allocations: 104.3 kB / 0.6534 GB, free: 13.39 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.0271, allocations: 235.6 kB / 0.6536 GB, free: 13.15 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.0271, allocations: 4.188 kB / 0.6537 GB, free: 13.14 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.02722, allocations: 175.3 kB / 0.6538 GB, free: 12.96 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.02749, allocations: 47.75 kB / 0.6539 GB, free: 12.91 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/0.02824, allocations: 487.6 kB / 0.6543 GB, free: 12.38 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.87e-05/0.0283, allocations: 92.31 kB / 0.6544 GB, free: 12.27 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.02837, allocations: 25.94 kB / 0.6544 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.02846, allocations: 79.36 kB / 0.6545 GB, free: 12.17 MB / 0.6199 GB Notification: Performance of SimCode: time 5.41e-07/0.02846, allocations: 0 / 0.6545 GB, free: 12.17 MB / 0.6199 GB Notification: Performance of Templates: time 0.004967/0.03342, allocations: 3.172 MB / 0.6576 GB, free: 9.004 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.34440478309989]