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.001867/0.001867, 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.001771/0.001771, allocations: 217.2 kB / 23.81 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.53/1.53, allocations: 230.6 MB / 257.6 MB, free: 7.812 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.03739/0.03739, allocations: 6.132 MB / 320.1 MB, free: 12.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 445.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 55.03 MB / 0.4885 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003237/0.1125, allocations: 1.62 MB / 0.4901 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1138, allocations: 0.5963 MB / 0.4906 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.1139, allocations: 7.938 kB / 0.4907 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1141, allocations: 123.7 kB / 0.4908 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.1144, allocations: 147.5 kB / 0.4909 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.1149, allocations: 111.7 kB / 0.491 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.1152, allocations: 223.5 kB / 0.4912 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.1153, allocations: 13.23 kB / 0.4912 GB, free: 11.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1155, allocations: 127.6 kB / 0.4914 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1157, allocations: 211.6 kB / 0.4916 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.1158, allocations: 12 kB / 0.4916 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.116, allocations: 83.92 kB / 0.4917 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1161, allocations: 107.6 kB / 0.4918 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1162, allocations: 103.2 kB / 0.4919 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1167, allocations: 342.6 kB / 0.4922 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1167, allocations: 0 / 0.4922 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1167, allocations: 0 / 0.4922 GB, free: 10.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1167, allocations: 0 / 0.4922 GB, free: 10.18 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.001037/0.1177, allocations: 0.6359 MB / 0.4928 GB, free: 9.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1177, allocations: 8.031 kB / 0.4928 GB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.142e-05/0.1178, allocations: 4.188 kB / 0.4928 GB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.1178, allocations: 42.73 kB / 0.4929 GB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.1179, allocations: 44.66 kB / 0.4929 GB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.1184, allocations: 328.5 kB / 0.4932 GB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1185, allocations: 4.375 kB / 0.4932 GB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1185, allocations: 11.94 kB / 0.4932 GB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.119, allocations: 292.4 kB / 0.4935 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.119, allocations: 0 / 0.4935 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.119, allocations: 4 kB / 0.4935 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.119, allocations: 0 / 0.4935 GB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1193, allocations: 179.3 kB / 0.4937 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.1201, allocations: 451.6 kB / 0.4941 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.1204, allocations: 185.9 kB / 0.4943 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.1207, allocations: 176.2 kB / 0.4945 GB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1207, allocations: 8 kB / 0.4945 GB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.1213, allocations: 485.2 kB / 0.4949 GB, free: 7.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.974e-06/0.1213, allocations: 0 / 0.4949 GB, free: 7.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001274/0.1226, allocations: 0.7141 MB / 0.4956 GB, free: 6.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.1228, allocations: 225.6 kB / 0.4958 GB, free: 6.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/0.1234, allocations: 0.5643 MB / 0.4964 GB, free: 5.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.1235, allocations: 29.7 kB / 0.4964 GB, free: 5.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1237, allocations: 196.1 kB / 0.4966 GB, free: 5.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.1237, allocations: 43.83 kB / 0.4967 GB, free: 5.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.1238, allocations: 37.7 kB / 0.4967 GB, free: 5.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.124, allocations: 362.7 kB / 0.497 GB, free: 4.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.1242, allocations: 159.4 kB / 0.4972 GB, free: 4.652 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.1244, allocations: 208.4 kB / 0.4974 GB, free: 4.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.1252, allocations: 0.6344 MB / 0.498 GB, free: 3.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1252, allocations: 3.938 kB / 0.498 GB, free: 3.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006601/0.1259, allocations: 0.4961 MB / 0.4985 GB, free: 3.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/0.1259, allocations: 71.38 kB / 0.4986 GB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.126, allocations: 0 / 0.4986 GB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.126, allocations: 0 / 0.4986 GB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.126, allocations: 12 kB / 0.4986 GB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.126, allocations: 7.969 kB / 0.4986 GB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.1264, allocations: 47.84 kB / 0.4986 GB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1264, allocations: 11.94 kB / 0.4986 GB, free: 3.051 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.0003747/0.1268, allocations: 298.3 kB / 0.4989 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.1268, allocations: 47.72 kB / 0.499 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.1269, allocations: 47.84 kB / 0.499 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1269, allocations: 0 / 0.499 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1269, allocations: 0 / 0.499 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1269, allocations: 0 / 0.499 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.1272, allocations: 276.5 kB / 0.4993 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1272, allocations: 0 / 0.4993 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.1273, allocations: 8 kB / 0.4993 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1273, allocations: 0 / 0.4993 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.1273, allocations: 12 kB / 0.4993 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.1273, allocations: 3.984 kB / 0.4993 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1273, allocations: 3.938 kB / 0.4993 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.1283, allocations: 0.6185 MB / 0.4999 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.1284, allocations: 75.67 kB / 0.5 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.1285, allocations: 15.98 kB / 0.5 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.1288, allocations: 43.95 kB / 0.5 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.1289, allocations: 19.97 kB / 0.5001 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.1289, allocations: 16 kB / 0.5001 GB, free: 1.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005471/0.1295, allocations: 419 kB / 0.5005 GB, free: 1.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1295, allocations: 0 / 0.5005 GB, free: 1.074 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1298, allocations: 75.94 kB / 0.5005 GB, free: 1 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.001444/0.1313, allocations: 1.185 MB / 0.5017 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007869/0.1321, allocations: 0.5132 MB / 0.5022 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1321, allocations: 0 / 0.5022 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.1325, allocations: 338.1 kB / 0.5025 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1328, allocations: 36.78 kB / 0.5026 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/0.1395, allocations: 5.295 MB / 0.5077 GB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1397, allocations: 200.2 kB / 0.5079 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1398, allocations: 45.86 kB / 0.508 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.14, allocations: 119.4 kB / 0.5081 GB, free: 8.961 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.14, allocations: 4 kB / 0.5081 GB, free: 8.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.1744, allocations: 8.746 MB / 0.5166 GB, free: 408 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.46, allocations: 7.938 kB / 0.5166 GB, free: 404 kB / 382.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.402322699897923] Failed to read output from testmodel.py, exit status != 0: 12.848069711006247 12.862195025 12.741990827 Calling exit ...