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.001301/0.001301, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001453/0.001453, allocations: 217.8 kB / 23.82 MB, free: 4.512 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.546/1.546, allocations: 230.6 MB / 257.6 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.03902/0.03902, allocations: 6.137 MB / 320.1 MB, free: 12.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 43.92 kB / 445.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1138, allocations: 55.03 MB / 0.4885 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002991/0.1168, allocations: 1.62 MB / 0.4901 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.118, allocations: 0.6002 MB / 0.4907 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.118, allocations: 0 / 0.4907 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1182, allocations: 27.84 kB / 0.4907 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1183, allocations: 47.7 kB / 0.4907 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1187, allocations: 119.7 kB / 0.4908 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.119, allocations: 175.6 kB / 0.491 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.119, allocations: 17.23 kB / 0.491 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1192, allocations: 79.75 kB / 0.4911 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1193, allocations: 87.7 kB / 0.4912 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.1194, allocations: 12 kB / 0.4912 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1195, allocations: 83.88 kB / 0.4913 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.1196, allocations: 31.84 kB / 0.4913 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.748e-05/0.1197, allocations: 59.7 kB / 0.4914 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.12, allocations: 199.4 kB / 0.4916 GB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.12, allocations: 0 / 0.4916 GB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.12, allocations: 0 / 0.4916 GB, free: 10.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.12, allocations: 0 / 0.4916 GB, free: 10.83 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.0007158/0.1207, allocations: 432.9 kB / 0.492 GB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1208, allocations: 12.03 kB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.253e-05/0.1208, allocations: 192 / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.1208, allocations: 38.75 kB / 0.492 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.1209, allocations: 20.84 kB / 0.492 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.1212, allocations: 178.2 kB / 0.4922 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1212, allocations: 4.375 kB / 0.4922 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1212, allocations: 7.938 kB / 0.4922 GB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.1217, allocations: 252.4 kB / 0.4925 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1217, allocations: 0 / 0.4925 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1217, allocations: 0 / 0.4925 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1217, allocations: 7.938 kB / 0.4925 GB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.122, allocations: 135.3 kB / 0.4926 GB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.1226, allocations: 335.8 kB / 0.4929 GB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.1229, allocations: 145.9 kB / 0.4931 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1231, allocations: 132.3 kB / 0.4932 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1231, allocations: 0 / 0.4932 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006137/0.1237, allocations: 450.5 kB / 0.4936 GB, free: 8.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.1237, allocations: 0 / 0.4936 GB, free: 8.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001114/0.1248, allocations: 0.5151 MB / 0.4941 GB, free: 7.902 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.125, allocations: 221.6 kB / 0.4943 GB, free: 7.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1253, allocations: 198.3 kB / 0.4945 GB, free: 7.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.1253, allocations: 33.7 kB / 0.4945 GB, free: 7.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.1254, allocations: 108.1 kB / 0.4947 GB, free: 7.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.1254, allocations: 39.78 kB / 0.4947 GB, free: 7.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.1255, allocations: 37.7 kB / 0.4947 GB, free: 7.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1257, allocations: 338.8 kB / 0.495 GB, free: 6.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1258, allocations: 115.4 kB / 0.4952 GB, free: 6.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.126, allocations: 164.4 kB / 0.4953 GB, free: 6.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.1266, allocations: 475.9 kB / 0.4958 GB, free: 6.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1266, allocations: 0 / 0.4958 GB, free: 6.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000471/0.1271, allocations: 352.1 kB / 0.4961 GB, free: 5.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.217e-05/0.1272, allocations: 71.38 kB / 0.4962 GB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1272, allocations: 7.969 kB / 0.4962 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1272, allocations: 4 kB / 0.4962 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.1273, allocations: 8 kB / 0.4962 GB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1273, allocations: 0 / 0.4962 GB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.1276, allocations: 55.81 kB / 0.4962 GB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1276, allocations: 11.94 kB / 0.4963 GB, free: 5.5 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.0002697/0.1279, allocations: 232.1 kB / 0.4965 GB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.1279, allocations: 23.86 kB / 0.4965 GB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.1279, allocations: 13.81 kB / 0.4965 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1279, allocations: 0 / 0.4965 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1279, allocations: 0 / 0.4965 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.128, allocations: 4 kB / 0.4965 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1282, allocations: 192.6 kB / 0.4967 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1282, allocations: 4 kB / 0.4967 GB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.1282, allocations: 4 kB / 0.4967 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1282, allocations: 0 / 0.4967 GB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.1282, allocations: 11.98 kB / 0.4967 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1282, allocations: 0 / 0.4967 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1282, allocations: 0 / 0.4967 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.129, allocations: 475.5 kB / 0.4972 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1291, allocations: 47.8 kB / 0.4972 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.207e-05/0.1292, allocations: 12 kB / 0.4972 GB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.1295, allocations: 47.94 kB / 0.4973 GB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.1296, allocations: 19.98 kB / 0.4973 GB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.1296, allocations: 15.98 kB / 0.4973 GB, free: 4.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1298, allocations: 156.2 kB / 0.4975 GB, free: 4.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1298, allocations: 0 / 0.4975 GB, free: 4.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1301, allocations: 67.94 kB / 0.4975 GB, free: 4.094 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.001289/0.1314, allocations: 1.04 MB / 0.4985 GB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006651/0.132, allocations: 433.5 kB / 0.499 GB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.132, allocations: 0 / 0.499 GB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.1324, allocations: 294.1 kB / 0.4992 GB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1327, allocations: 29.56 kB / 0.4993 GB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.136, allocations: 2.644 MB / 0.5018 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.1361, allocations: 101.3 kB / 0.5019 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.1361, allocations: 8.438 kB / 0.5019 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.1362, allocations: 43.42 kB / 0.502 GB, free: 15.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1362, allocations: 0 / 0.502 GB, free: 15.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.1662, allocations: 5.347 MB / 0.5072 GB, free: 10.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/11.98, allocations: 2.406 kB / 0.5072 GB, free: 10.02 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 os._exit(0), Time elapsed: 14.857425472000614] Failed to read output from testmodel.py, exit status != 0: 12.14340686390642 12.33282185 12.210251005 Calling exit ...