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.001616/0.001616, allocations: 120.8 kB / 17.89 MB, free: 5.07 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.001686/0.001686, allocations: 212.4 kB / 20.84 MB, free: 2.125 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 / 254.2 MB, free: 15.07 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.03659/0.03659, allocations: 6.133 MB / 316.4 MB, free: 1.133 MB / 238.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.001642/0.001642, allocations: 49.59 kB / 439.9 MB, free: 40.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1075, allocations: 54.99 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002532/0.11, allocations: 1.649 MB / 496.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.1109, allocations: 0.6507 MB / 497.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.111, allocations: 0 / 497.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1111, allocations: 23.84 kB / 497.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1113, allocations: 47.7 kB / 497.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1116, allocations: 111.7 kB / 497.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1117, allocations: 183.6 kB / 497.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.1118, allocations: 17.03 kB / 497.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.1119, allocations: 75.75 kB / 497.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.112, allocations: 87.7 kB / 497.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.112, allocations: 16 kB / 497.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1121, allocations: 83.92 kB / 497.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.1122, allocations: 31.8 kB / 497.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.1123, allocations: 71.64 kB / 497.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1124, allocations: 187.6 kB / 498.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1125, allocations: 0 / 498.1 MB, free: 7.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1125, allocations: 4 kB / 498.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1125, allocations: 0 / 498.1 MB, free: 7.262 MB / 350.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.0005428/0.113, allocations: 0.5059 MB / 498.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.113, allocations: 8.031 kB / 498.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.15e-05/0.1131, allocations: 192 / 498.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.1131, allocations: 38.75 kB / 498.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.1131, allocations: 20.84 kB / 498.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1134, allocations: 236.1 kB / 498.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1134, allocations: 8.375 kB / 498.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1134, allocations: 7.938 kB / 498.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1137, allocations: 129.5 kB / 499.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1137, allocations: 0 / 499.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1137, allocations: 7.984 kB / 499.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1137, allocations: 0 / 499.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1139, allocations: 67.95 kB / 499.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.1144, allocations: 396.6 kB / 499.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1146, allocations: 82.53 kB / 499.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1148, allocations: 72.73 kB / 499.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1148, allocations: 0 / 499.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003447/0.1151, allocations: 323.7 kB / 0.4883 GB, free: 5.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.1151, allocations: 7.875 kB / 0.4883 GB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007646/0.1159, allocations: 395.5 kB / 0.4887 GB, free: 4.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.116, allocations: 217.6 kB / 0.4889 GB, free: 4.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1161, allocations: 190.3 kB / 0.4891 GB, free: 4.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1161, allocations: 29.7 kB / 0.4891 GB, free: 4.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.1162, allocations: 108.1 kB / 0.4892 GB, free: 4.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1162, allocations: 51.77 kB / 0.4892 GB, free: 4.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.1163, allocations: 37.7 kB / 0.4893 GB, free: 4.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.1163, allocations: 330.8 kB / 0.4896 GB, free: 3.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.1164, allocations: 51.98 kB / 0.4896 GB, free: 3.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.1165, allocations: 73.67 kB / 0.4897 GB, free: 3.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.117, allocations: 461.2 kB / 0.4901 GB, free: 3.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.117, allocations: 0 / 0.4901 GB, free: 3.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002801/0.1172, allocations: 268.8 kB / 0.4904 GB, free: 2.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.1173, allocations: 75.38 kB / 0.4905 GB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1173, allocations: 4.031 kB / 0.4905 GB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1173, allocations: 0 / 0.4905 GB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.1174, allocations: 8 kB / 0.4905 GB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1174, allocations: 3.938 kB / 0.4905 GB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.1176, allocations: 47.89 kB / 0.4905 GB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1177, allocations: 19.92 kB / 0.4906 GB, free: 2.656 MB / 350.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.000202/0.1179, allocations: 220.6 kB / 0.4908 GB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1179, allocations: 19.91 kB / 0.4908 GB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.1179, allocations: 17.86 kB / 0.4908 GB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1179, allocations: 4 kB / 0.4908 GB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1179, allocations: 0 / 0.4908 GB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.118, allocations: 0 / 0.4908 GB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1181, allocations: 265.4 kB / 0.4911 GB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1181, allocations: 0 / 0.4911 GB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.1181, allocations: 0 / 0.4911 GB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1181, allocations: 4 kB / 0.4911 GB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1182, allocations: 11.98 kB / 0.4911 GB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1182, allocations: 4 kB / 0.4911 GB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1182, allocations: 4 kB / 0.4911 GB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.1187, allocations: 395.2 kB / 0.4915 GB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.1188, allocations: 125 kB / 0.4916 GB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.1188, allocations: 12 kB / 0.4916 GB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.1191, allocations: 43.95 kB / 0.4916 GB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.1192, allocations: 19.97 kB / 0.4916 GB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.1192, allocations: 15.98 kB / 0.4917 GB, free: 1.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.503e-05/0.1193, allocations: 156.2 kB / 0.4918 GB, free: 1.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1193, allocations: 0 / 0.4918 GB, free: 1.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1195, allocations: 71.94 kB / 0.4919 GB, free: 1.176 MB / 350.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.0007666/0.1203, allocations: 0.9669 MB / 0.4928 GB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.1208, allocations: 290.7 kB / 0.4931 GB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1208, allocations: 0 / 0.4931 GB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.1211, allocations: 222.8 kB / 0.4933 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.1213, allocations: 21.7 kB / 0.4933 GB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.1243, allocations: 2.285 MB / 0.4956 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1248, allocations: 0.716 MB / 0.4963 GB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.902e-05/0.1248, allocations: 8.438 kB / 0.4963 GB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.1249, allocations: 39.42 kB / 0.4963 GB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1249, allocations: 7.938 kB / 0.4963 GB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.1469, allocations: 4.917 MB / 0.5011 GB, free: 7.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.806/8.953, allocations: 15.92 kB / 0.5011 GB, free: 7.586 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.671388646005653] Failed to read output from testmodel.py, exit status != 0: 9.084633900958579 9.10998951 8.992849378 Calling exit ...