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.001911/0.001911, allocations: 101 kB / 20.52 MB, free: 1.449 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.002385/0.002385, allocations: 213.6 kB / 23.83 MB, free: 4.664 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.506/1.506, allocations: 230.6 MB / 257.6 MB, free: 8 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.04262/0.04262, allocations: 6.128 MB / 320.2 MB, free: 12.96 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.001875/0.001875, allocations: 47.92 kB / 445.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1018, allocations: 55.01 MB / 0.4886 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003133/0.1049, allocations: 1.674 MB / 0.4902 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1063, allocations: 0.6585 MB / 0.4908 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.1064, allocations: 0 / 0.4908 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1066, allocations: 127.7 kB / 0.491 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.107, allocations: 139.6 kB / 0.4911 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.1075, allocations: 114.2 kB / 0.4912 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.1078, allocations: 227.5 kB / 0.4914 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.1079, allocations: 9.297 kB / 0.4914 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1081, allocations: 123.6 kB / 0.4915 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.1084, allocations: 215.5 kB / 0.4918 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.1085, allocations: 12 kB / 0.4918 GB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1086, allocations: 91.92 kB / 0.4919 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1088, allocations: 91.73 kB / 0.4919 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1089, allocations: 138.9 kB / 0.4921 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.1094, allocations: 334.9 kB / 0.4924 GB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1094, allocations: 3.938 kB / 0.4924 GB, free: 10.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1094, allocations: 0 / 0.4924 GB, free: 10.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1094, allocations: 4 kB / 0.4924 GB, free: 10.34 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.001092/0.1105, allocations: 0.6359 MB / 0.493 GB, free: 9.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1105, allocations: 12.03 kB / 0.493 GB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.1105, allocations: 192 / 0.493 GB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.1106, allocations: 42.73 kB / 0.4931 GB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1107, allocations: 44.66 kB / 0.4931 GB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.1113, allocations: 312.6 kB / 0.4934 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1113, allocations: 16.31 kB / 0.4934 GB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.1114, allocations: 11.94 kB / 0.4934 GB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1118, allocations: 176.4 kB / 0.4936 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1118, allocations: 0 / 0.4936 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.1118, allocations: 8 kB / 0.4936 GB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1118, allocations: 0 / 0.4936 GB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.1121, allocations: 111.9 kB / 0.4937 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.1129, allocations: 479.6 kB / 0.4942 GB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.1132, allocations: 122.5 kB / 0.4943 GB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.1134, allocations: 112.8 kB / 0.4944 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1134, allocations: 0 / 0.4944 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005112/0.1139, allocations: 363.7 kB / 0.4948 GB, free: 7.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.1139, allocations: 4 kB / 0.4948 GB, free: 7.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001105/0.115, allocations: 0.5847 MB / 0.4953 GB, free: 7.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.1152, allocations: 225.6 kB / 0.4955 GB, free: 6.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/0.1158, allocations: 0.5604 MB / 0.4961 GB, free: 6.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.1159, allocations: 29.7 kB / 0.4961 GB, free: 6.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.116, allocations: 196.1 kB / 0.4963 GB, free: 6.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.1161, allocations: 39.83 kB / 0.4963 GB, free: 6.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.1162, allocations: 37.7 kB / 0.4964 GB, free: 5.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1164, allocations: 366.7 kB / 0.4967 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1165, allocations: 95.95 kB / 0.4968 GB, free: 5.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1167, allocations: 115.3 kB / 0.4969 GB, free: 5.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.1174, allocations: 0.6072 MB / 0.4975 GB, free: 4.762 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1174, allocations: 4 kB / 0.4975 GB, free: 4.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005433/0.1179, allocations: 428.5 kB / 0.4979 GB, free: 4.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.118, allocations: 71.39 kB / 0.498 GB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.118, allocations: 0 / 0.498 GB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.118, allocations: 32 / 0.498 GB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.1181, allocations: 12 kB / 0.498 GB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1181, allocations: 3.984 kB / 0.498 GB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.1184, allocations: 51.89 kB / 0.4981 GB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.1185, allocations: 11.98 kB / 0.4981 GB, free: 4.16 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.0003628/0.1188, allocations: 300 kB / 0.4984 GB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.1189, allocations: 47.72 kB / 0.4984 GB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.119, allocations: 43.86 kB / 0.4985 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.119, allocations: 4 kB / 0.4985 GB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.119, allocations: 0 / 0.4985 GB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.119, allocations: 3.984 kB / 0.4985 GB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.1193, allocations: 308.5 kB / 0.4988 GB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1193, allocations: 4 kB / 0.4988 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.1193, allocations: 7.984 kB / 0.4988 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1193, allocations: 0 / 0.4988 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.1194, allocations: 8 kB / 0.4988 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1194, allocations: 4 kB / 0.4988 GB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1194, allocations: 0 / 0.4988 GB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/0.1203, allocations: 0.5375 MB / 0.4993 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.1204, allocations: 75.67 kB / 0.4994 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.1205, allocations: 16 kB / 0.4994 GB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.1208, allocations: 55.88 kB / 0.4994 GB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.1209, allocations: 19.92 kB / 0.4995 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.1209, allocations: 15.97 kB / 0.4995 GB, free: 2.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004999/0.1214, allocations: 419 kB / 0.4999 GB, free: 2.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1214, allocations: 0 / 0.4999 GB, free: 2.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1218, allocations: 75.92 kB / 0.4999 GB, free: 2.156 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.001341/0.1231, allocations: 1.112 MB / 0.501 GB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.1237, allocations: 394.6 kB / 0.5014 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1237, allocations: 0 / 0.5014 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.1241, allocations: 258.7 kB / 0.5017 GB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1244, allocations: 40.62 kB / 0.5017 GB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/0.1307, allocations: 4.914 MB / 0.5065 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.1312, allocations: 0.8111 MB / 0.5073 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1313, allocations: 46.11 kB / 0.5073 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.1315, allocations: 123.4 kB / 0.5074 GB, free: 10.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.1315, allocations: 0 / 0.5074 GB, free: 10.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.1624, allocations: 8.513 MB / 0.5158 GB, free: 1.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.35, allocations: 14.7 kB / 0.5158 GB, free: 1.883 MB / 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.265259647974744] Failed to read output from testmodel.py, exit status != 0: 12.520002257078886 12.736572257 12.623992966 Calling exit ...