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.001968/0.001968, allocations: 118.4 kB / 19.74 MB, free: 2.141 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.002522/0.002522, allocations: 223.8 kB / 23.05 MB, free: 4.941 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.03866/0.03866, allocations: 6.141 MB / 319.4 MB, free: 12.99 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 47.92 kB / 444.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1101, allocations: 55.02 MB / 499.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.003083/0.1132, allocations: 1.665 MB / 0.4894 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1145, allocations: 0.6586 MB / 0.4901 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.1146, allocations: 0 / 0.4901 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.1147, allocations: 23.84 kB / 0.4901 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1149, allocations: 47.7 kB / 0.4901 GB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.1153, allocations: 107.7 kB / 0.4902 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.1156, allocations: 183.6 kB / 0.4904 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.1157, allocations: 9.297 kB / 0.4904 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1159, allocations: 87.69 kB / 0.4905 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.116, allocations: 87.7 kB / 0.4906 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1161, allocations: 15.94 kB / 0.4906 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1162, allocations: 83.92 kB / 0.4907 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.1163, allocations: 27.92 kB / 0.4907 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.1164, allocations: 67.64 kB / 0.4908 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1167, allocations: 203.5 kB / 0.491 GB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1167, allocations: 4 kB / 0.491 GB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1167, allocations: 0 / 0.491 GB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1167, allocations: 0 / 0.491 GB, free: 11.05 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.0007625/0.1175, allocations: 432.9 kB / 0.4914 GB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1175, allocations: 12.03 kB / 0.4914 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.1176, allocations: 42.73 kB / 0.4914 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.1177, allocations: 20.83 kB / 0.4915 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.118, allocations: 174.2 kB / 0.4916 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.118, allocations: 4.375 kB / 0.4916 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1181, allocations: 12.12 kB / 0.4916 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.1184, allocations: 137.5 kB / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1185, allocations: 0 / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1185, allocations: 0 / 0.4918 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1185, allocations: 4 kB / 0.4918 GB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.1187, allocations: 63.95 kB / 0.4918 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.1194, allocations: 355.7 kB / 0.4922 GB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1196, allocations: 82.53 kB / 0.4923 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.1198, allocations: 76.42 kB / 0.4923 GB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.1198, allocations: 4 kB / 0.4923 GB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.1203, allocations: 326.1 kB / 0.4926 GB, free: 9.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.1203, allocations: 0 / 0.4926 GB, free: 9.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009057/0.1212, allocations: 388.7 kB / 0.493 GB, free: 8.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.1214, allocations: 221.6 kB / 0.4932 GB, free: 8.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1216, allocations: 198.2 kB / 0.4934 GB, free: 8.305 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.1217, allocations: 33.7 kB / 0.4934 GB, free: 8.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.1217, allocations: 100.1 kB / 0.4935 GB, free: 8.164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.1218, allocations: 51.77 kB / 0.4936 GB, free: 8.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.1219, allocations: 37.7 kB / 0.4936 GB, free: 8.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1221, allocations: 330.8 kB / 0.4939 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1222, allocations: 51.92 kB / 0.494 GB, free: 7.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1223, allocations: 81.67 kB / 0.4941 GB, free: 7.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005796/0.1229, allocations: 452.6 kB / 0.4945 GB, free: 7.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1229, allocations: 0 / 0.4945 GB, free: 7.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004432/0.1233, allocations: 280.7 kB / 0.4948 GB, free: 6.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.1234, allocations: 71.38 kB / 0.4948 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1234, allocations: 0 / 0.4948 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1234, allocations: 0 / 0.4948 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.1235, allocations: 12 kB / 0.4949 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1235, allocations: 0 / 0.4949 GB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1237, allocations: 47.98 kB / 0.4949 GB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1238, allocations: 4 kB / 0.4949 GB, free: 6.676 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.0002638/0.124, allocations: 232 kB / 0.4951 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.1241, allocations: 27.86 kB / 0.4951 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.1241, allocations: 13.8 kB / 0.4952 GB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1241, allocations: 4 kB / 0.4952 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1241, allocations: 48 / 0.4952 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1241, allocations: 3.984 kB / 0.4952 GB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1244, allocations: 232.5 kB / 0.4954 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1244, allocations: 0 / 0.4954 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.1244, allocations: 7.938 kB / 0.4954 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1244, allocations: 0 / 0.4954 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.1244, allocations: 19.98 kB / 0.4954 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1244, allocations: 0 / 0.4954 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1244, allocations: 0 / 0.4954 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.1251, allocations: 392.2 kB / 0.4958 GB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1252, allocations: 47.86 kB / 0.4958 GB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.1253, allocations: 8 kB / 0.4958 GB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.1256, allocations: 51.89 kB / 0.4959 GB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.1257, allocations: 23.97 kB / 0.4959 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.1257, allocations: 11.98 kB / 0.4959 GB, free: 5.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1259, allocations: 156.2 kB / 0.4961 GB, free: 5.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1259, allocations: 0 / 0.4961 GB, free: 5.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1262, allocations: 67.88 kB / 0.4961 GB, free: 5.309 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.001159/0.1273, allocations: 0.9673 MB / 0.4971 GB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.1278, allocations: 298.6 kB / 0.4974 GB, free: 3.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1278, allocations: 0 / 0.4974 GB, free: 3.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.1282, allocations: 214.8 kB / 0.4976 GB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1284, allocations: 20 kB / 0.4976 GB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.1314, allocations: 2.293 MB / 0.4998 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1317, allocations: 0.716 MB / 0.5005 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.1318, allocations: 12.42 kB / 0.5005 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.1319, allocations: 43.42 kB / 0.5006 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1319, allocations: 0 / 0.5006 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.1642, allocations: 5.146 MB / 0.5056 GB, free: 11.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.33, allocations: 2.578 kB / 0.5056 GB, free: 11.54 MB / 382.1 MB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.202342504169792] Failed to read output from testmodel.py, exit status != 0: 11.439496448030695 11.684955333 11.565061696 Calling exit ...