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.001287/0.001287, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001561/0.001561, allocations: 224.7 kB / 23.03 MB, free: 4.625 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.03815/0.03815, allocations: 6.149 MB / 319.4 MB, free: 12.73 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.002539/0.002539, allocations: 47.92 kB / 444.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1406, allocations: 55.03 MB / 499.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003655/0.1443, allocations: 1.62 MB / 0.4893 GB, free: 12.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1456, allocations: 0.608 MB / 0.4899 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.937e-05/0.1457, allocations: 0 / 0.4899 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.146, allocations: 123.7 kB / 0.49 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1463, allocations: 139.5 kB / 0.4902 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1467, allocations: 111.7 kB / 0.4903 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.1471, allocations: 227.5 kB / 0.4905 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1472, allocations: 17.22 kB / 0.4905 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.1474, allocations: 119.7 kB / 0.4906 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.1478, allocations: 211.5 kB / 0.4908 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.1478, allocations: 12 kB / 0.4908 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.148, allocations: 79.94 kB / 0.4909 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1481, allocations: 99.66 kB / 0.491 GB, free: 10.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1483, allocations: 111.2 kB / 0.4911 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.1487, allocations: 334.6 kB / 0.4914 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1487, allocations: 0 / 0.4914 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1487, allocations: 0 / 0.4914 GB, free: 10.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1488, allocations: 0 / 0.4914 GB, free: 10.16 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.001059/0.1498, allocations: 0.6359 MB / 0.492 GB, free: 9.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1499, allocations: 12.03 kB / 0.492 GB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.1499, allocations: 42.69 kB / 0.4921 GB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/0.15, allocations: 44.66 kB / 0.4921 GB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.1506, allocations: 324.6 kB / 0.4924 GB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1506, allocations: 4.375 kB / 0.4924 GB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1506, allocations: 16.06 kB / 0.4925 GB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.151, allocations: 296.4 kB / 0.4927 GB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.151, allocations: 0 / 0.4927 GB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1511, allocations: 4 kB / 0.4927 GB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-06/0.1511, allocations: 0 / 0.4927 GB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.1513, allocations: 171.3 kB / 0.4929 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.1521, allocations: 455.7 kB / 0.4933 GB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1524, allocations: 189.8 kB / 0.4935 GB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.1527, allocations: 184.2 kB / 0.4937 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.1527, allocations: 0 / 0.4937 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005777/0.1533, allocations: 485.2 kB / 0.4942 GB, free: 7.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.1533, allocations: 0 / 0.4942 GB, free: 7.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001149/0.1544, allocations: 0.7141 MB / 0.4949 GB, free: 6.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.1545, allocations: 221.6 kB / 0.4951 GB, free: 6.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.1552, allocations: 0.5604 MB / 0.4956 GB, free: 5.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.1553, allocations: 33.7 kB / 0.4957 GB, free: 5.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1554, allocations: 192.1 kB / 0.4958 GB, free: 5.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.1555, allocations: 51.81 kB / 0.4959 GB, free: 5.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.1556, allocations: 37.7 kB / 0.4959 GB, free: 5.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1558, allocations: 362.7 kB / 0.4963 GB, free: 4.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.156, allocations: 163.4 kB / 0.4964 GB, free: 4.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.1562, allocations: 204.4 kB / 0.4966 GB, free: 4.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.1569, allocations: 0.6383 MB / 0.4972 GB, free: 3.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1569, allocations: 0 / 0.4972 GB, free: 3.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006042/0.1575, allocations: 500 kB / 0.4977 GB, free: 3.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.1576, allocations: 71.39 kB / 0.4978 GB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1576, allocations: 0 / 0.4978 GB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1576, allocations: 32 / 0.4978 GB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.1577, allocations: 12 kB / 0.4978 GB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.1577, allocations: 80 / 0.4978 GB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.158, allocations: 63.81 kB / 0.4979 GB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.158, allocations: 8.031 kB / 0.4979 GB, free: 3.027 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.0003546/0.1583, allocations: 302 kB / 0.4982 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.1584, allocations: 47.72 kB / 0.4982 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.1585, allocations: 43.86 kB / 0.4982 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1585, allocations: 0 / 0.4982 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1585, allocations: 0 / 0.4982 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1585, allocations: 3.984 kB / 0.4982 GB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.1588, allocations: 276.6 kB / 0.4985 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1588, allocations: 0 / 0.4985 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.1588, allocations: 4 kB / 0.4985 GB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1588, allocations: 4 kB / 0.4985 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.1589, allocations: 11.98 kB / 0.4985 GB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1589, allocations: 4 kB / 0.4985 GB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1589, allocations: 0 / 0.4985 GB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/0.1598, allocations: 0.6185 MB / 0.4991 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.16, allocations: 75.67 kB / 0.4992 GB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/0.1601, allocations: 15.94 kB / 0.4992 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.1604, allocations: 47.94 kB / 0.4993 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.1604, allocations: 19.98 kB / 0.4993 GB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.1605, allocations: 19.97 kB / 0.4993 GB, free: 1.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005079/0.161, allocations: 415.1 kB / 0.4997 GB, free: 1.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.161, allocations: 0 / 0.4997 GB, free: 1.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.1613, allocations: 79.86 kB / 0.4998 GB, free: 0.9727 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.001342/0.1626, allocations: 1.174 MB / 0.5009 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006783/0.1633, allocations: 0.5242 MB / 0.5014 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1633, allocations: 0 / 0.5014 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.1637, allocations: 338.1 kB / 0.5018 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.164, allocations: 33.97 kB / 0.5018 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.1703, allocations: 5.283 MB / 0.507 GB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.1705, allocations: 204.2 kB / 0.5071 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1706, allocations: 46.11 kB / 0.5072 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.1708, allocations: 119.4 kB / 0.5073 GB, free: 8.941 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1708, allocations: 3.938 kB / 0.5073 GB, free: 8.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2451/0.4159, allocations: 9.117 MB / 0.5162 GB, free: 32.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.89, allocations: 9.266 kB / 0.5162 GB, free: 32.79 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.5494854003191] Failed to read output from testmodel.py, exit status != 0: 12.00120780710131 12.0222426 11.869154443 Calling exit ...