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.04377/0.04377, allocations: 9.131 MB / 28.99 MB, free: 0.8281 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.0009839/0.0009839, allocations: 99.08 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.001272/0.001272, allocations: 166.1 kB / 38.73 MB, free: 2.52 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.041/1.041, allocations: 177.1 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.006475/0.006475, allocations: 0.8332 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.766/1.766, 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.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 1.623e-06/1.623e-06, allocations: 0 / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.636e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002788/0.002815, allocations: 2.109 MB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.003788, allocations: 0.701 MB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.00388, allocations: 4 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.004288, allocations: 107.5 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.004452, allocations: 67.55 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.004603, allocations: 71.67 kB / 0.6408 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.004789, allocations: 167.4 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.004965, allocations: 81.69 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.005128, allocations: 103.8 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.005262, allocations: 59.8 kB / 0.6412 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.005282, allocations: 12 kB / 0.6412 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.005376, allocations: 55.77 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.005424, allocations: 35.91 kB / 0.6413 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.005476, allocations: 47.84 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.005664, allocations: 123.6 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005667, allocations: 4 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005668, allocations: 0 / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.005672, allocations: 4 kB / 0.6414 GB, free: 10.43 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.0004724/0.006144, allocations: 403.8 kB / 0.6418 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.006178, allocations: 11.98 kB / 0.6418 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.006389, allocations: 52.77 kB / 0.6419 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.006555, allocations: 142.2 kB / 0.642 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.006601, allocations: 64.16 kB / 0.6421 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.006623, allocations: 16.38 kB / 0.6421 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.006802, allocations: 161.2 kB / 0.6423 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006811, allocations: 3.984 kB / 0.6423 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006823, allocations: 8 kB / 0.6423 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.006838, allocations: 4 kB / 0.6423 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.006893, allocations: 53.62 kB / 0.6423 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.007342, allocations: 499.8 kB / 0.6428 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.007469, allocations: 60.27 kB / 0.6429 GB, free: 8.824 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.007499, allocations: 46.56 kB / 0.6429 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.00751, allocations: 3.984 kB / 0.6429 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.007639, allocations: 164.4 kB / 0.6431 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.00764, allocations: 0 / 0.6431 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001585/0.007799, allocations: 162.7 kB / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.007858, allocations: 140.6 kB / 0.6434 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.00796, allocations: 174.5 kB / 0.6435 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.007974, allocations: 29.7 kB / 0.6435 GB, free: 8.004 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.008037, allocations: 139.7 kB / 0.6437 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.008054, allocations: 15.89 kB / 0.6437 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.008099, allocations: 45.66 kB / 0.6437 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.008183, allocations: 326.8 kB / 0.644 GB, free: 7.469 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/0.008222, allocations: 67.39 kB / 0.6441 GB, free: 7.391 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.008299, allocations: 144.7 kB / 0.6443 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.008416, allocations: 205.2 kB / 0.6444 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.008419, allocations: 0 / 0.6444 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001554/0.008574, allocations: 228.1 kB / 0.6447 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.008612, allocations: 63.39 kB / 0.6447 GB, free: 6.621 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.008618, allocations: 4.312 kB / 0.6447 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.008635, allocations: 11.94 kB / 0.6447 GB, free: 6.605 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.008715, allocations: 35.92 kB / 0.6448 GB, free: 6.57 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.00872, allocations: 3.938 kB / 0.6448 GB, free: 6.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.008782, allocations: 23.88 kB / 0.6448 GB, free: 6.543 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.008793, allocations: 8 kB / 0.6448 GB, free: 6.535 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 9.239e-05/0.008885, allocations: 158.2 kB / 0.645 GB, free: 6.363 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.008901, allocations: 11.98 kB / 0.645 GB, free: 6.352 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.008922, allocations: 13.47 kB / 0.645 GB, free: 6.344 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008924, allocations: 7.984 kB / 0.645 GB, free: 6.336 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.008927, allocations: 3.938 kB / 0.645 GB, free: 6.332 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.00893, allocations: 0 / 0.645 GB, free: 6.332 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.563e-05/0.009006, allocations: 96.69 kB / 0.6451 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.009008, allocations: 3.984 kB / 0.6451 GB, free: 6.215 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.009045, allocations: 8 kB / 0.6451 GB, free: 6.207 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009047, allocations: 3.938 kB / 0.6451 GB, free: 6.203 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009057, allocations: 8 kB / 0.6451 GB, free: 6.195 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009058, allocations: 0 / 0.6451 GB, free: 6.195 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.009059, allocations: 0 / 0.6451 GB, free: 6.195 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.009234, allocations: 216.9 kB / 0.6453 GB, free: 5.945 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.009249, allocations: 11.94 kB / 0.6453 GB, free: 5.934 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.009265, allocations: 4 kB / 0.6453 GB, free: 5.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.0093, allocations: 11.98 kB / 0.6453 GB, free: 5.918 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.009338, allocations: 4 kB / 0.6453 GB, free: 5.914 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.009343, allocations: 4 kB / 0.6454 GB, free: 5.91 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.009377, allocations: 40.8 kB / 0.6454 GB, free: 5.867 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.009377, allocations: 0 / 0.6454 GB, free: 5.867 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001349/0.009512, allocations: 39.88 kB / 0.6454 GB, free: 5.828 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 8.312e-05/0.009595, allocations: 88.28 kB / 0.6455 GB, free: 5.73 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.009769, allocations: 264.7 kB / 0.6458 GB, free: 5.426 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.009774, allocations: 4 kB / 0.6458 GB, free: 5.422 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.009836, allocations: 117.9 kB / 0.6459 GB, free: 5.285 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.009952, allocations: 16 kB / 0.6459 GB, free: 5.27 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.01048, allocations: 310.4 kB / 0.6462 GB, free: 4.934 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.01052, allocations: 63.34 kB / 0.6463 GB, free: 4.852 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.01056, allocations: 16.61 kB / 0.6463 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.01064, allocations: 83.3 kB / 0.6463 GB, free: 4.754 MB / 0.6043 GB Notification: Performance of SimCode: time 7.82e-07/0.01064, allocations: 0 / 0.6463 GB, free: 4.754 MB / 0.6043 GB Notification: Performance of Templates: time 0.003245/0.01388, allocations: 1.548 MB / 0.6479 GB, free: 3.215 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 -lv LOG_STATS > AixLib_AixLib.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.736974040046334]