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.04509/0.04509, allocations: 9.132 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.0009882/0.0009882, 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.001162/0.001162, allocations: 164.7 kB / 38.73 MB, free: 2.516 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.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.004091/0.004091, allocations: 0.823 MB / 276.5 MB, free: 0.7383 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.788/1.788, 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.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 2.195e-06/2.195e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.788e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004709/0.004737, allocations: 2.608 MB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.007707, allocations: 1.592 MB / 0.6419 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.007877, allocations: 7.938 kB / 0.6419 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0006455/0.008522, allocations: 147.2 kB / 0.6421 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.009038, allocations: 171.1 kB / 0.6422 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.009772, allocations: 247 kB / 0.6425 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.01028, allocations: 338.8 kB / 0.6428 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.01063, allocations: 151 kB / 0.6429 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.01102, allocations: 191.5 kB / 0.6431 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.01137, allocations: 139.6 kB / 0.6433 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.01142, allocations: 20 kB / 0.6433 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.012, allocations: 315.3 kB / 0.6436 GB, free: 8.23 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.01213, allocations: 95.73 kB / 0.6437 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.01224, allocations: 79.83 kB / 0.6437 GB, free: 8.059 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.0129, allocations: 382.8 kB / 0.6441 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.01291, allocations: 0 / 0.6441 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.753e-06/0.01291, allocations: 0 / 0.6441 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.01292, allocations: 0 / 0.6441 GB, free: 7.684 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.0008214/0.01374, allocations: 463.5 kB / 0.6445 GB, free: 7.207 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.01378, allocations: 15.97 kB / 0.6446 GB, free: 7.191 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007826/0.01457, allocations: 144.7 kB / 0.6447 GB, free: 7.051 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.01491, allocations: 193.3 kB / 0.6449 GB, free: 6.836 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.01493, allocations: 16.88 kB / 0.6449 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.01498, allocations: 24.36 kB / 0.6449 GB, free: 6.797 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.01559, allocations: 271.7 kB / 0.6452 GB, free: 6.492 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01561, allocations: 192 / 0.6452 GB, free: 6.492 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.01564, allocations: 8.375 kB / 0.6452 GB, free: 6.484 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/0.0157, allocations: 28.42 kB / 0.6452 GB, free: 6.457 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.0159, allocations: 87.31 kB / 0.6453 GB, free: 6.367 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.01737, allocations: 1.026 MB / 0.6463 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.01769, allocations: 182.7 kB / 0.6465 GB, free: 5.094 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.01777, allocations: 41.69 kB / 0.6465 GB, free: 5.047 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-05/0.01783, allocations: 8 kB / 0.6465 GB, free: 5.039 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.01786, allocations: 30.56 kB / 0.6466 GB, free: 5 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.01786, allocations: 4 kB / 0.6466 GB, free: 4.996 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16): time 0.0008303/0.01869, allocations: 257.3 kB / 0.6468 GB, free: 4.73 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.01873, allocations: 77.11 kB / 0.6469 GB, free: 4.637 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.01889, allocations: 191.4 kB / 0.6471 GB, free: 4.438 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.01891, allocations: 29.7 kB / 0.6471 GB, free: 4.402 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.01901, allocations: 168.1 kB / 0.6472 GB, free: 4.234 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.01905, allocations: 55.47 kB / 0.6473 GB, free: 4.18 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/0.01914, allocations: 53.64 kB / 0.6474 GB, free: 4.121 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01925, allocations: 334.8 kB / 0.6477 GB, free: 3.785 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.0193, allocations: 23.98 kB / 0.6477 GB, free: 3.762 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01941, allocations: 109.3 kB / 0.6478 GB, free: 3.621 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.01959, allocations: 152.1 kB / 0.6479 GB, free: 3.438 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.0196, allocations: 0 / 0.6479 GB, free: 3.438 MB / 0.6043 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00038/0.01998, allocations: 196.2 kB / 0.6481 GB, free: 3.234 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.02, allocations: 11.98 kB / 0.6481 GB, free: 3.223 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.02001, allocations: 0 / 0.6481 GB, free: 3.223 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/0.02035, allocations: 79.58 kB / 0.6482 GB, free: 3.137 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.02053, allocations: 51.91 kB / 0.6483 GB, free: 3.086 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.02169, allocations: 1.727 MB / 0.65 GB, free: 1.227 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.02182, allocations: 23.78 kB / 0.65 GB, free: 1.203 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.02184, allocations: 15.98 kB / 0.65 GB, free: 1.188 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 0.0001104/0.02195, allocations: 120.6 kB / 0.6501 GB, free: 1.059 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.02202, allocations: 23.92 kB / 0.6501 GB, free: 1.035 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.02236, allocations: 162.5 kB / 0.6503 GB, free: 0.8633 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.02236, allocations: 4 kB / 0.6503 GB, free: 0.8594 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.02236, allocations: 3.938 kB / 0.6503 GB, free: 0.8555 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.02237, allocations: 0 / 0.6503 GB, free: 0.8555 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.02311, allocations: 0.5234 MB / 0.6508 GB, free: 284 kB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.02311, allocations: 0 / 0.6508 GB, free: 284 kB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.02319, allocations: 31.92 kB / 0.6508 GB, free: 252 kB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.02342, allocations: 67.31 kB / 0.6509 GB, free: 176 kB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.02343, allocations: 4 kB / 0.6509 GB, free: 172 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.0246, allocations: 1.731 MB / 0.6526 GB, free: 14.31 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.0246, allocations: 7.938 kB / 0.6526 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.02499, allocations: 451 kB / 0.653 GB, free: 13.82 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.02505, allocations: 31.83 kB / 0.6531 GB, free: 13.79 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.02508, allocations: 4 kB / 0.6531 GB, free: 13.78 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.02524, allocations: 12.16 kB / 0.6531 GB, free: 13.77 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.02528, allocations: 19.91 kB / 0.6531 GB, free: 13.75 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.0253, allocations: 15.94 kB / 0.6531 GB, free: 13.73 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 7.066e-05/0.02537, allocations: 60.8 kB / 0.6532 GB, free: 13.67 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.02537, allocations: 0 / 0.6532 GB, free: 13.67 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0004859/0.02585, allocations: 79.83 kB / 0.6532 GB, free: 13.59 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.0001909/0.02605, allocations: 100.3 kB / 0.6533 GB, free: 13.48 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.02643, allocations: 243.1 kB / 0.6536 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.02644, allocations: 0 / 0.6536 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.02662, allocations: 171.4 kB / 0.6537 GB, free: 13.05 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.02705, allocations: 45 kB / 0.6538 GB, free: 13 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.02813, allocations: 491.2 kB / 0.6542 GB, free: 12.47 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.02822, allocations: 100.2 kB / 0.6543 GB, free: 12.36 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 9.904e-05/0.02832, allocations: 21.95 kB / 0.6544 GB, free: 12.34 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.02845, allocations: 83.34 kB / 0.6544 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of SimCode: time 6.62e-07/0.02846, allocations: 4 kB / 0.6544 GB, free: 12.25 MB / 0.6199 GB Notification: Performance of Templates: time 0.005821/0.03428, allocations: 3.164 MB / 0.6575 GB, free: 9.09 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 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8701392649672925]