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.001343/0.001343, allocations: 108.3 kB / 19.75 MB, free: 1.879 MB / 14.72 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.001575/0.001575, allocations: 221.7 kB / 23.04 MB, free: 5.012 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.05426/0.05426, allocations: 6.135 MB / 319.4 MB, free: 12.8 MB / 254.1 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 0.001692/0.001692, allocations: 43.92 kB / 444.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1233, allocations: 55.02 MB / 499.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.003274/0.1266, allocations: 1.624 MB / 0.4893 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.128, allocations: 0.6119 MB / 0.4899 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.1281, allocations: 4 kB / 0.4899 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1282, allocations: 23.84 kB / 0.4899 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1284, allocations: 43.77 kB / 0.49 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.1288, allocations: 113.9 kB / 0.4901 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.1291, allocations: 183.5 kB / 0.4903 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.1292, allocations: 13.23 kB / 0.4903 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1293, allocations: 71.77 kB / 0.4903 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1295, allocations: 91.62 kB / 0.4904 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.1295, allocations: 16 kB / 0.4904 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1297, allocations: 75.94 kB / 0.4905 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.1298, allocations: 27.91 kB / 0.4905 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.1299, allocations: 59.72 kB / 0.4906 GB, free: 11.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.1302, allocations: 199.3 kB / 0.4908 GB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1302, allocations: 4 kB / 0.4908 GB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1302, allocations: 0 / 0.4908 GB, free: 10.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1302, allocations: 0 / 0.4908 GB, free: 10.9 MB / 366.1 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.0006814/0.1309, allocations: 432.9 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1309, allocations: 12.03 kB / 0.4912 GB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.1309, allocations: 34.75 kB / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.131, allocations: 16.84 kB / 0.4913 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1314, allocations: 174.2 kB / 0.4914 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1314, allocations: 8.312 kB / 0.4914 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1314, allocations: 16.12 kB / 0.4915 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.1318, allocations: 252.3 kB / 0.4917 GB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1318, allocations: 0 / 0.4917 GB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1318, allocations: 4 kB / 0.4917 GB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1319, allocations: 0 / 0.4917 GB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.1321, allocations: 135.3 kB / 0.4918 GB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.1327, allocations: 323.8 kB / 0.4921 GB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.133, allocations: 149.9 kB / 0.4923 GB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.1332, allocations: 144.2 kB / 0.4924 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1332, allocations: 0 / 0.4924 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/0.1338, allocations: 446.5 kB / 0.4928 GB, free: 8.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.1338, allocations: 0 / 0.4928 GB, free: 8.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001003/0.1348, allocations: 0.5257 MB / 0.4934 GB, free: 7.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.135, allocations: 221.6 kB / 0.4936 GB, free: 7.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1352, allocations: 198.3 kB / 0.4938 GB, free: 7.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1352, allocations: 25.7 kB / 0.4938 GB, free: 7.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.1353, allocations: 108.1 kB / 0.4939 GB, free: 7.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.1354, allocations: 43.8 kB / 0.4939 GB, free: 7.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.1355, allocations: 37.7 kB / 0.494 GB, free: 7.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1356, allocations: 334.8 kB / 0.4943 GB, free: 6.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1358, allocations: 115.4 kB / 0.4944 GB, free: 6.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.136, allocations: 169 kB / 0.4946 GB, free: 6.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/0.1366, allocations: 469.9 kB / 0.495 GB, free: 6.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1366, allocations: 0 / 0.495 GB, free: 6.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004703/0.1371, allocations: 356 kB / 0.4953 GB, free: 5.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/0.1371, allocations: 75.38 kB / 0.4954 GB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1371, allocations: 0 / 0.4954 GB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1371, allocations: 0 / 0.4954 GB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.1372, allocations: 16.03 kB / 0.4954 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1372, allocations: 3.938 kB / 0.4954 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1375, allocations: 47.88 kB / 0.4955 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1375, allocations: 8 kB / 0.4955 GB, free: 5.574 MB / 366.1 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.0002662/0.1378, allocations: 228.1 kB / 0.4957 GB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.1378, allocations: 23.86 kB / 0.4957 GB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.1379, allocations: 21.75 kB / 0.4957 GB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1379, allocations: 7.938 kB / 0.4958 GB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1379, allocations: 0 / 0.4958 GB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1379, allocations: 0 / 0.4958 GB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.1381, allocations: 196.6 kB / 0.4959 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1381, allocations: 0 / 0.4959 GB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.1381, allocations: 4 kB / 0.4959 GB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1381, allocations: 4 kB / 0.4959 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1381, allocations: 7.984 kB / 0.496 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1381, allocations: 4 kB / 0.496 GB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1381, allocations: 0 / 0.496 GB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1389, allocations: 471.6 kB / 0.4964 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.139, allocations: 43.86 kB / 0.4964 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.1391, allocations: 12 kB / 0.4965 GB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1393, allocations: 43.94 kB / 0.4965 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.1394, allocations: 23.98 kB / 0.4965 GB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.1395, allocations: 15.98 kB / 0.4965 GB, free: 4.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1396, allocations: 152.2 kB / 0.4967 GB, free: 4.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1396, allocations: 3.938 kB / 0.4967 GB, free: 4.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.1399, allocations: 71.88 kB / 0.4968 GB, free: 4.16 MB / 366.1 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.001218/0.1411, allocations: 1.036 MB / 0.4978 GB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006154/0.1417, allocations: 433.4 kB / 0.4982 GB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1417, allocations: 0 / 0.4982 GB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.1421, allocations: 302.1 kB / 0.4985 GB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1424, allocations: 22.81 kB / 0.4985 GB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.1455, allocations: 2.639 MB / 0.5011 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.901e-05/0.1456, allocations: 97.34 kB / 0.5012 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.726e-05/0.1456, allocations: 8.438 kB / 0.5012 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.1457, allocations: 47.42 kB / 0.5012 GB, free: 15.28 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1457, allocations: 0 / 0.5012 GB, free: 15.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.179, allocations: 5.731 MB / 0.5068 GB, free: 9.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.47, allocations: 8.062 kB / 0.5068 GB, free: 9.688 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.31984327500686] Failed to read output from testmodel.py, exit status != 0: 11.579894863069057 11.805092301 11.671638613 Calling exit ...