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.00175/0.00175, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.002344/0.002344, allocations: 215.2 kB / 23.05 MB, free: 5 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.03733/0.03733, allocations: 6.137 MB / 319.4 MB, free: 12.98 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.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 0.001575/0.001575, allocations: 47.92 kB / 444.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 55.02 MB / 499.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003169/0.1157, allocations: 1.674 MB / 0.4894 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.117, allocations: 0.6546 MB / 0.4901 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.1171, allocations: 7.938 kB / 0.4901 GB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.1173, allocations: 115.8 kB / 0.4902 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.1176, allocations: 151.5 kB / 0.4903 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.118, allocations: 113.9 kB / 0.4904 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.1184, allocations: 223.5 kB / 0.4907 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1185, allocations: 17.28 kB / 0.4907 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.1187, allocations: 115.6 kB / 0.4908 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.119, allocations: 215.5 kB / 0.491 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.119, allocations: 16 kB / 0.491 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1192, allocations: 87.88 kB / 0.4911 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1193, allocations: 103.7 kB / 0.4912 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.1195, allocations: 131.1 kB / 0.4913 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.1199, allocations: 338.8 kB / 0.4916 GB, free: 10.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1199, allocations: 0 / 0.4916 GB, free: 10.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1199, allocations: 0 / 0.4916 GB, free: 10.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1199, allocations: 0 / 0.4916 GB, free: 10.37 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.0009575/0.1209, allocations: 0.6359 MB / 0.4923 GB, free: 9.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1209, allocations: 8.031 kB / 0.4923 GB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.1209, allocations: 42.75 kB / 0.4923 GB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.121, allocations: 44.66 kB / 0.4923 GB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.1216, allocations: 328.6 kB / 0.4927 GB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1216, allocations: 384 / 0.4927 GB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1216, allocations: 12.12 kB / 0.4927 GB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.122, allocations: 173.6 kB / 0.4928 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.122, allocations: 0 / 0.4928 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.122, allocations: 4 kB / 0.4928 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.122, allocations: 0 / 0.4928 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.1223, allocations: 111.9 kB / 0.4929 GB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.1231, allocations: 487.6 kB / 0.4934 GB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1233, allocations: 122.5 kB / 0.4935 GB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.1235, allocations: 108.8 kB / 0.4936 GB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1235, allocations: 0 / 0.4936 GB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.124, allocations: 371.6 kB / 0.494 GB, free: 7.777 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.124, allocations: 7.875 kB / 0.494 GB, free: 7.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001075/0.1251, allocations: 0.5733 MB / 0.4946 GB, free: 7.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.1253, allocations: 217.6 kB / 0.4948 GB, free: 6.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.126, allocations: 0.5643 MB / 0.4953 GB, free: 6.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.126, allocations: 29.7 kB / 0.4953 GB, free: 6.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1262, allocations: 200.1 kB / 0.4955 GB, free: 6.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.1262, allocations: 43.83 kB / 0.4956 GB, free: 6.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/0.1263, allocations: 37.7 kB / 0.4956 GB, free: 6.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1265, allocations: 362.7 kB / 0.496 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1267, allocations: 91.97 kB / 0.496 GB, free: 5.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.1268, allocations: 123.2 kB / 0.4962 GB, free: 5.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.1276, allocations: 0.615 MB / 0.4968 GB, free: 4.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1276, allocations: 0 / 0.4968 GB, free: 4.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005475/0.1281, allocations: 420.6 kB / 0.4972 GB, free: 4.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/0.1282, allocations: 75.38 kB / 0.4972 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1282, allocations: 0 / 0.4972 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1282, allocations: 0 / 0.4972 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.1283, allocations: 11.94 kB / 0.4972 GB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.1283, allocations: 4 kB / 0.4972 GB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.1286, allocations: 59.83 kB / 0.4973 GB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.1286, allocations: 4 kB / 0.4973 GB, free: 4.188 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.0003498/0.129, allocations: 288 kB / 0.4976 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.129, allocations: 51.7 kB / 0.4976 GB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.1291, allocations: 43.91 kB / 0.4977 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1291, allocations: 7.984 kB / 0.4977 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1291, allocations: 0 / 0.4977 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1291, allocations: 0 / 0.4977 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.1294, allocations: 320.4 kB / 0.498 GB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1294, allocations: 0 / 0.498 GB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.1295, allocations: 4 kB / 0.498 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1295, allocations: 0 / 0.498 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.1295, allocations: 11.98 kB / 0.498 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1295, allocations: 0 / 0.498 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1295, allocations: 0 / 0.498 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.1303, allocations: 0.5451 MB / 0.4985 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.1305, allocations: 79.66 kB / 0.4986 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.1306, allocations: 12 kB / 0.4986 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.1308, allocations: 47.89 kB / 0.4987 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.1309, allocations: 19.97 kB / 0.4987 GB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.131, allocations: 15.98 kB / 0.4987 GB, free: 2.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004835/0.1314, allocations: 415.1 kB / 0.4991 GB, free: 2.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1314, allocations: 0 / 0.4991 GB, free: 2.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1318, allocations: 79.88 kB / 0.4992 GB, free: 2.188 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.001374/0.1331, allocations: 1.119 MB / 0.5003 GB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006384/0.1338, allocations: 382.8 kB / 0.5006 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1338, allocations: 0 / 0.5006 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.1342, allocations: 266.7 kB / 0.5009 GB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1344, allocations: 29.97 kB / 0.5009 GB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006436/0.1409, allocations: 4.915 MB / 0.5057 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.1414, allocations: 0.8072 MB / 0.5065 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1415, allocations: 41.92 kB / 0.5065 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.1416, allocations: 119.4 kB / 0.5067 GB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1416, allocations: 0 / 0.5067 GB, free: 10.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04062/0.1823, allocations: 8.52 MB / 0.515 GB, free: 1.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.59, allocations: 9.562 kB / 0.515 GB, free: 1.926 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.538203502073884] Failed to read output from testmodel.py, exit status != 0: 11.702577464981005 11.913560916 11.791034269 Calling exit ...