Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.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.03981/0.03981, allocations: 9.128 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.0008263/0.0008263, 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.0009761/0.0009761, allocations: 165.4 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.082/1.082, 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.006512/0.006512, allocations: 0.8264 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.776/1.776, 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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(AixLib.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.162e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002839/0.002861, allocations: 2.156 MB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.003833, allocations: 0.701 MB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.048e-05/0.003914, allocations: 0 / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.004347, allocations: 107.4 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.004501, allocations: 71.48 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.004644, allocations: 67.78 kB / 0.6409 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.004829, allocations: 163.4 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.005006, allocations: 89.61 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.005157, allocations: 99.78 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.005277, allocations: 55.86 kB / 0.6413 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.005298, allocations: 15.94 kB / 0.6413 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.005386, allocations: 51.83 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.005427, allocations: 39.84 kB / 0.6414 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.005472, allocations: 47.89 kB / 0.6414 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.005631, allocations: 131.6 kB / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005633, allocations: 0 / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.51e-07/0.005634, allocations: 0 / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.005637, allocations: 0 / 0.6415 GB, free: 10.32 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004074/0.006044, allocations: 407.7 kB / 0.6419 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006075, allocations: 11.98 kB / 0.6419 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.006281, allocations: 48.89 kB / 0.642 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.006586, allocations: 146.2 kB / 0.6421 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.006627, allocations: 60.16 kB / 0.6422 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.006646, allocations: 12.38 kB / 0.6422 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.006808, allocations: 169.2 kB / 0.6423 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.006816, allocations: 0 / 0.6423 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.006826, allocations: 4 kB / 0.6424 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.006843, allocations: 7.984 kB / 0.6424 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.006901, allocations: 57.62 kB / 0.6424 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.00738, allocations: 495.8 kB / 0.6429 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.007498, allocations: 68.27 kB / 0.643 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.007526, allocations: 42.56 kB / 0.643 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.007535, allocations: 0 / 0.643 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.007653, allocations: 160.4 kB / 0.6431 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.007654, allocations: 7.938 kB / 0.6432 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001403/0.007794, allocations: 154.8 kB / 0.6433 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.007845, allocations: 148.6 kB / 0.6434 GB, free: 8.117 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.007948, allocations: 174.5 kB / 0.6436 GB, free: 7.934 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.007961, allocations: 33.7 kB / 0.6436 GB, free: 7.895 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.008011, allocations: 131.7 kB / 0.6438 GB, free: 7.762 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.008028, allocations: 23.83 kB / 0.6438 GB, free: 7.738 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.008073, allocations: 45.64 kB / 0.6438 GB, free: 7.688 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.008152, allocations: 322.8 kB / 0.6441 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.008188, allocations: 67.39 kB / 0.6442 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.008259, allocations: 152.7 kB / 0.6443 GB, free: 7.09 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.008372, allocations: 201.2 kB / 0.6445 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008374, allocations: 0 / 0.6445 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001517/0.008526, allocations: 228.2 kB / 0.6448 GB, free: 6.586 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.008559, allocations: 63.39 kB / 0.6448 GB, free: 6.512 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008564, allocations: 4.312 kB / 0.6448 GB, free: 6.508 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.008577, allocations: 4 kB / 0.6448 GB, free: 6.504 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.008674, allocations: 39.86 kB / 0.6449 GB, free: 6.465 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.008678, allocations: 4 kB / 0.6449 GB, free: 6.461 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.008741, allocations: 23.88 kB / 0.6449 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.008752, allocations: 8 kB / 0.6449 GB, free: 6.43 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: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 8.566e-05/0.008838, allocations: 150.3 kB / 0.645 GB, free: 6.266 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.008855, allocations: 15.98 kB / 0.6451 GB, free: 6.25 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.008876, allocations: 17.45 kB / 0.6451 GB, free: 6.238 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008878, allocations: 4 kB / 0.6451 GB, free: 6.234 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.008882, allocations: 3.938 kB / 0.6451 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008886, allocations: 4 kB / 0.6451 GB, free: 6.227 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.525e-05/0.008961, allocations: 96.67 kB / 0.6452 GB, free: 6.113 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008962, allocations: 0 / 0.6452 GB, free: 6.113 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.009014, allocations: 19.92 kB / 0.6452 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.009015, allocations: 0 / 0.6452 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.009022, allocations: 0 / 0.6452 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.009023, allocations: 0 / 0.6452 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009024, allocations: 0 / 0.6452 GB, free: 6.094 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.009181, allocations: 213 kB / 0.6454 GB, free: 5.848 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.0092, allocations: 19.88 kB / 0.6454 GB, free: 5.828 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.009216, allocations: 7.984 kB / 0.6454 GB, free: 5.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.009253, allocations: 4 kB / 0.6454 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.009292, allocations: 12.08 kB / 0.6454 GB, free: 5.805 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.009299, allocations: 7.922 kB / 0.6454 GB, free: 5.797 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.009333, allocations: 48.78 kB / 0.6455 GB, free: 5.746 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.009333, allocations: 0 / 0.6455 GB, free: 5.746 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.00013/0.009463, allocations: 35.94 kB / 0.6455 GB, free: 5.711 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.83e-05/0.009531, allocations: 84.3 kB / 0.6456 GB, free: 5.617 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.009692, allocations: 268.6 kB / 0.6459 GB, free: 5.309 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.009696, allocations: 0 / 0.6459 GB, free: 5.309 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.009754, allocations: 113.9 kB / 0.646 GB, free: 5.176 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.009868, allocations: 27.92 kB / 0.646 GB, free: 5.148 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.01037, allocations: 306.4 kB / 0.6463 GB, free: 4.816 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.01041, allocations: 75.77 kB / 0.6464 GB, free: 4.719 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.01045, allocations: 12.58 kB / 0.6464 GB, free: 4.707 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.01053, allocations: 79.36 kB / 0.6465 GB, free: 4.629 MB / 0.6043 GB Notification: Performance of SimCode: time 5.61e-07/0.01053, allocations: 0 / 0.6465 GB, free: 4.629 MB / 0.6043 GB Notification: Performance of Templates: time 0.003135/0.01366, allocations: 1.588 MB / 0.648 GB, free: 3.051 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.504192430060357]