Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.conf.json 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.0008612/0.0008612, allocations: 76.52 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001084/0.001084, allocations: 173.9 kB / 23.25 MB, free: 1.316 MB / 18.57 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.9008/0.9008, allocations: 177.1 MB / 203.6 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02473/0.02473, allocations: 4.471 MB / 264.5 MB, free: 8.773 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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) Running command: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 389.6 MB, free: 7.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.13e-05, allocations: 2.281 kB / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002116/0.002137, allocations: 1.633 MB / 391.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.003043, allocations: 0.6156 MB / 391.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.003108, allocations: 8 kB / 391.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003233, allocations: 23.84 kB / 391.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.00338, allocations: 43.69 kB / 391.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.003728, allocations: 111.7 kB / 392 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.003913, allocations: 183.5 kB / 392.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.004002, allocations: 17.09 kB / 392.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.004132, allocations: 103.8 kB / 392.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.004262, allocations: 71.78 kB / 392.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.004287, allocations: 20 kB / 392.4 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.004407, allocations: 79.92 kB / 392.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.004475, allocations: 23.92 kB / 392.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.004535, allocations: 51.83 kB / 392.6 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.004767, allocations: 223.5 kB / 392.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.00477, allocations: 0 / 392.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.004772, allocations: 0 / 392.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.004777, allocations: 0 / 392.8 MB, free: 4.219 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008616/0.005638, allocations: 432.9 kB / 393.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.005678, allocations: 16.03 kB / 393.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.00571, allocations: 38.69 kB / 393.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.005756, allocations: 16.84 kB / 393.3 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.005997, allocations: 177.4 kB / 393.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.00601, allocations: 4.375 kB / 393.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.006028, allocations: 12.38 kB / 393.5 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.006298, allocations: 248.9 kB / 393.7 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.006305, allocations: 3.938 kB / 393.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.00632, allocations: 8 kB / 393.7 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.006324, allocations: 0 / 393.7 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.006471, allocations: 139.3 kB / 393.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.006858, allocations: 319.9 kB / 394.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.007015, allocations: 157.8 kB / 394.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.007146, allocations: 132.3 kB / 394.4 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.007157, allocations: 0 / 394.4 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.007494, allocations: 446.5 kB / 394.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.062e-06/0.007495, allocations: 0 / 394.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005826/0.008077, allocations: 0.5256 MB / 395.4 MB, free: 1.281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.00816, allocations: 221.6 kB / 395.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.00829, allocations: 198.3 kB / 395.8 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.008313, allocations: 25.7 kB / 395.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.008363, allocations: 107.9 kB / 395.9 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.0084, allocations: 47.77 kB / 396 MB, free: 0.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.00845, allocations: 37.7 kB / 396 MB, free: 0.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.008541, allocations: 334.8 kB / 396.4 MB, free: 252 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.008627, allocations: 115.4 kB / 396.5 MB, free: 124 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.008745, allocations: 170.6 kB / 396.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.009132, allocations: 470.4 kB / 397.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009134, allocations: 4.031 kB / 397.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002965/0.009431, allocations: 352.2 kB / 397.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.009484, allocations: 75.38 kB / 397.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.00949, allocations: 0 / 397.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.009505, allocations: 0 / 397.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.009565, allocations: 11.94 kB / 397.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.00957, allocations: 0 / 397.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.009715, allocations: 47.95 kB / 397.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.00973, allocations: 11.98 kB / 397.6 MB, free: 14.89 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * 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 0.0001879/0.009917, allocations: 220.2 kB / 397.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.009947, allocations: 23.86 kB / 397.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.009968, allocations: 17.84 kB / 397.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.009971, allocations: 7.984 kB / 397.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.009976, allocations: 4 kB / 397.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.009979, allocations: 0 / 397.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.01011, allocations: 192.6 kB / 398 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01011, allocations: 3.984 kB / 398 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.61e-05/0.01013, allocations: 7.938 kB / 398.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01013, allocations: 0 / 398.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.01015, allocations: 11.94 kB / 398.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01015, allocations: 4 kB / 398.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01015, allocations: 0 / 398.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.01059, allocations: 471.5 kB / 398.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.01066, allocations: 47.86 kB / 398.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.0107, allocations: 12 kB / 398.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.01082, allocations: 39.95 kB / 398.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.01089, allocations: 31.95 kB / 398.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.01091, allocations: 11.98 kB / 398.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.159e-05/0.011, allocations: 148.2 kB / 398.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.011, allocations: 0 / 398.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.01122, allocations: 67.94 kB / 398.9 MB, free: 13.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000791/0.01201, allocations: 1.051 MB / 399.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.01238, allocations: 433.5 kB / 400.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01239, allocations: 0 / 400.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.01258, allocations: 294.1 kB / 400.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.01276, allocations: 22.66 kB / 400.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.01468, allocations: 2.647 MB / 403.3 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.044e-05/0.01475, allocations: 101.3 kB / 403.4 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.01479, allocations: 12.48 kB / 403.4 MB, free: 8.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.01484, allocations: 44.48 kB / 403.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01484, allocations: 4 kB / 403.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.0349, allocations: 5.847 MB / 409.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.097, allocations: 3.438 kB / 409.3 MB, free: 2.863 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation2_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.940492909401655] Failed to read output from testmodel.py, exit status != 0: 7.179749748669565 7.335551569 7.328954989 Calling exit ...