Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource.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.04216/0.04216, allocations: 9.133 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.0008006/0.0008006, 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.001408/0.001408, allocations: 163.7 kB / 38.73 MB, free: 2.512 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.9579/0.9579, 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.00411/0.00411, allocations: 0.8221 MB / 276.5 MB, free: 0.75 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.683/1.683, 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource") translateModel(AixLib.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.915e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.DC.Sources.Examples.VoltageSource): time 0.003496/0.003515, allocations: 2.733 MB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.005202, allocations: 1.094 MB / 0.6416 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.005338, allocations: 7.938 kB / 0.6416 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.005799, allocations: 99.42 kB / 0.6417 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.006069, allocations: 147.1 kB / 0.6418 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.006346, allocations: 131.5 kB / 0.642 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0005756/0.006922, allocations: 346.7 kB / 0.6423 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.007222, allocations: 198.7 kB / 0.6425 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.007523, allocations: 191.5 kB / 0.6427 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.007911, allocations: 135.6 kB / 0.6428 GB, free: 9.031 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.007939, allocations: 20 kB / 0.6428 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.008105, allocations: 103.7 kB / 0.6429 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.008184, allocations: 91.73 kB / 0.643 GB, free: 8.82 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.008253, allocations: 83.83 kB / 0.6431 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.008536, allocations: 247.1 kB / 0.6433 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.008538, allocations: 0 / 0.6433 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.82e-07/0.008539, allocations: 0 / 0.6433 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.008546, allocations: 3.984 kB / 0.6433 GB, free: 8.492 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006056/0.009152, allocations: 448.1 kB / 0.6438 GB, free: 8.031 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.009188, allocations: 11.98 kB / 0.6438 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.009642, allocations: 128.7 kB / 0.6439 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.009901, allocations: 182 kB / 0.6441 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.009921, allocations: 20.81 kB / 0.6441 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.009946, allocations: 20.38 kB / 0.6441 GB, free: 7.648 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.01026, allocations: 290.4 kB / 0.6444 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.01028, allocations: 8.125 kB / 0.6444 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.0103, allocations: 16.36 kB / 0.6444 GB, free: 7.293 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.01034, allocations: 20.42 kB / 0.6444 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.01044, allocations: 59.41 kB / 0.6445 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009442/0.01138, allocations: 0.9263 MB / 0.6454 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.01159, allocations: 73.39 kB / 0.6455 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.01162, allocations: 28.77 kB / 0.6455 GB, free: 6.117 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.01164, allocations: 4 kB / 0.6455 GB, free: 6.113 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.01167, allocations: 34.5 kB / 0.6455 GB, free: 6.07 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/0.01167, allocations: 0 / 0.6455 GB, free: 6.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0003207/0.01199, allocations: 109.3 kB / 0.6456 GB, free: 5.953 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.01202, allocations: 55.34 kB / 0.6457 GB, free: 5.887 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.01214, allocations: 195.4 kB / 0.6459 GB, free: 5.684 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.01216, allocations: 25.7 kB / 0.6459 GB, free: 5.652 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.01224, allocations: 168 kB / 0.646 GB, free: 5.484 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.01226, allocations: 35.72 kB / 0.6461 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.0123, allocations: 33.7 kB / 0.6461 GB, free: 5.41 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.0124, allocations: 326.8 kB / 0.6464 GB, free: 5.082 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.01242, allocations: 15.95 kB / 0.6464 GB, free: 5.066 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.01248, allocations: 84.56 kB / 0.6465 GB, free: 4.953 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.01258, allocations: 111.2 kB / 0.6466 GB, free: 4.812 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01259, allocations: 3.938 kB / 0.6466 GB, free: 4.809 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000175/0.01276, allocations: 145 kB / 0.6468 GB, free: 4.656 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01278, allocations: 4 kB / 0.6468 GB, free: 4.652 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01278, allocations: 4 kB / 0.6468 GB, free: 4.648 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.01297, allocations: 35.94 kB / 0.6468 GB, free: 4.609 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.01304, allocations: 35.92 kB / 0.6468 GB, free: 4.574 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007194/0.01376, allocations: 1.2 MB / 0.648 GB, free: 3.273 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.01383, allocations: 11.89 kB / 0.648 GB, free: 3.262 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.01384, allocations: 8 kB / 0.648 GB, free: 3.254 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.01391, allocations: 124.8 kB / 0.6482 GB, free: 3.121 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.01394, allocations: 11.98 kB / 0.6482 GB, free: 3.109 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.01395, allocations: 21.45 kB / 0.6482 GB, free: 3.09 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01396, allocations: 3.938 kB / 0.6482 GB, free: 3.086 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01396, allocations: 3.938 kB / 0.6482 GB, free: 3.082 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01397, allocations: 3.938 kB / 0.6482 GB, free: 3.078 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.01423, allocations: 274.3 kB / 0.6485 GB, free: 2.777 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01423, allocations: 0 / 0.6485 GB, free: 2.777 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.01426, allocations: 15.92 kB / 0.6485 GB, free: 2.762 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.01436, allocations: 35.61 kB / 0.6485 GB, free: 2.723 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.01437, allocations: 0 / 0.6485 GB, free: 2.723 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007827/0.01515, allocations: 1.193 MB / 0.6497 GB, free: 1.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01515, allocations: 0 / 0.6497 GB, free: 1.434 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.01528, allocations: 185.9 kB / 0.6499 GB, free: 1.23 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.01531, allocations: 15.91 kB / 0.6499 GB, free: 1.215 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.01532, allocations: 4 kB / 0.6499 GB, free: 1.211 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.01537, allocations: 4 kB / 0.6499 GB, free: 1.207 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.0154, allocations: 11.98 kB / 0.6499 GB, free: 1.195 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.01541, allocations: 3.938 kB / 0.6499 GB, free: 1.191 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.01545, allocations: 56.86 kB / 0.6499 GB, free: 1.133 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01545, allocations: 0 / 0.6499 GB, free: 1.133 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001824/0.01563, allocations: 59.92 kB / 0.65 GB, free: 1.074 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.462e-05/0.01572, allocations: 80.36 kB / 0.6501 GB, free: 0.9844 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.01596, allocations: 187 kB / 0.6503 GB, free: 0.7891 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.01597, allocations: 0 / 0.6503 GB, free: 0.7891 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.01606, allocations: 148 kB / 0.6504 GB, free: 0.6289 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.01627, allocations: 40.22 kB / 0.6504 GB, free: 0.5938 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007153/0.01698, allocations: 398.6 kB / 0.6508 GB, free: 176 kB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.01704, allocations: 91.97 kB / 0.6509 GB, free: 64 kB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.476e-05/0.0171, allocations: 9.484 kB / 0.6509 GB, free: 56 kB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.0172, allocations: 87.34 kB / 0.651 GB, free: 15.97 MB / 0.6199 GB Notification: Performance of SimCode: time 1.162e-06/0.0172, allocations: 4 kB / 0.651 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of Templates: time 0.004056/0.02126, allocations: 1.993 MB / 0.6529 GB, free: 13.98 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource.sim & ./AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5082893143408]