Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.0007678/0.0007678, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.0007691/0.0007691, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.8797/0.8797, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.0217/0.0217, allocations: 4.471 MB / 264.5 MB, free: 8.758 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.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 389.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.993e-05, allocations: 5.094 kB / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002314/0.002333, allocations: 1.642 MB / 391.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008521/0.003185, allocations: 0.6156 MB / 391.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.003251, allocations: 0 / 391.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.003422, allocations: 127.6 kB / 392 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.003615, allocations: 143.5 kB / 392.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.003948, allocations: 107.7 kB / 392.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.004178, allocations: 235.4 kB / 392.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.004264, allocations: 13.17 kB / 392.4 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.004425, allocations: 135.7 kB / 392.6 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.004638, allocations: 203.7 kB / 392.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.004667, allocations: 19.94 kB / 392.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.004786, allocations: 75.94 kB / 392.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.004882, allocations: 107.7 kB / 393 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.00496, allocations: 75.7 kB / 393 MB, free: 3.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.005278, allocations: 343 kB / 393.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.005281, allocations: 0 / 393.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.005283, allocations: 0 / 393.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.005289, allocations: 4 kB / 393.4 MB, free: 3.598 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.0006897/0.005979, allocations: 0.6359 MB / 394 MB, free: 2.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.006016, allocations: 8.031 kB / 394 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.00605, allocations: 38.75 kB / 394.1 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.006112, allocations: 48.66 kB / 394.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.006467, allocations: 323.9 kB / 394.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.006482, allocations: 4.375 kB / 394.4 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.006497, allocations: 4.375 kB / 394.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.00679, allocations: 292.9 kB / 394.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.006798, allocations: 7.938 kB / 394.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.006811, allocations: 4 kB / 394.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.006815, allocations: 0 / 394.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.00698, allocations: 175.3 kB / 394.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.007466, allocations: 451.6 kB / 395.4 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.007642, allocations: 193.8 kB / 395.5 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.007784, allocations: 176.2 kB / 395.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.007795, allocations: 4 kB / 395.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.008127, allocations: 490.5 kB / 396.2 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.008129, allocations: 0 / 396.2 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006535/0.008782, allocations: 0.7167 MB / 396.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.00886, allocations: 221.6 kB / 397.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.009241, allocations: 0.5604 MB / 397.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.009259, allocations: 33.7 kB / 397.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.009361, allocations: 199.9 kB / 397.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.009395, allocations: 43.81 kB / 398 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.009445, allocations: 37.7 kB / 398 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003224/0.009767, allocations: 358.8 kB / 398.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.009871, allocations: 167.3 kB / 398.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.009996, allocations: 210.6 kB / 398.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.01044, allocations: 0.6349 MB / 399.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01045, allocations: 0 / 399.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003206/0.01077, allocations: 500 kB / 399.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.01081, allocations: 71.39 kB / 399.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01082, allocations: 0 / 399.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01083, allocations: 0 / 399.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.01089, allocations: 8 kB / 399.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01089, allocations: 0 / 399.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.01105, allocations: 59.92 kB / 400 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.01106, allocations: 4 kB / 400 MB, free: 12.49 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.0002198/0.01128, allocations: 303.1 kB / 400.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.01132, allocations: 51.72 kB / 400.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.01135, allocations: 43.86 kB / 400.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01135, allocations: 0 / 400.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.01136, allocations: 0 / 400.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01136, allocations: 0 / 400.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.01153, allocations: 284.5 kB / 400.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01153, allocations: 0 / 400.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.01155, allocations: 4 kB / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01155, allocations: 0 / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.01157, allocations: 15.92 kB / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01157, allocations: 4 kB / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01157, allocations: 0 / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.01207, allocations: 0.6165 MB / 401.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.01217, allocations: 79.61 kB / 401.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.01221, allocations: 12 kB / 401.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.01234, allocations: 39.95 kB / 401.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.0124, allocations: 23.97 kB / 401.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.01242, allocations: 15.98 kB / 401.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002778/0.0127, allocations: 411.1 kB / 401.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0127, allocations: 0 / 401.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.01292, allocations: 83.92 kB / 401.9 MB, free: 10.42 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.0007687/0.01369, allocations: 1.188 MB / 403.1 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.01409, allocations: 0.5208 MB / 403.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01409, allocations: 0 / 403.6 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.01431, allocations: 334.1 kB / 404 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.01451, allocations: 33.97 kB / 404 MB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.01879, allocations: 5.306 MB / 409.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.01893, allocations: 204.4 kB / 409.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.01902, allocations: 45.86 kB / 409.6 MB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.01913, allocations: 120.5 kB / 409.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.01913, allocations: 0 / 409.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1448/0.164, allocations: 9.244 MB / 418.9 MB, free: 33.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.295, allocations: 5.375 kB / 418.9 MB, free: 33.97 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.923633188940585] Failed to read output from testmodel.py, exit status != 0: 7.3816162925213575 7.390441903 7.383831905 Calling exit ...