Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.00214/0.00214, allocations: 116.7 kB / 17.88 MB, free: 5.051 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.002319/0.002319, allocations: 212.5 kB / 20.84 MB, free: 2.105 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.522/1.522, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.04053/0.04053, allocations: 6.138 MB / 316.4 MB, free: 1.16 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.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 47.38 kB / 439.9 MB, free: 40.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09745, allocations: 54.97 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002481/0.09993, allocations: 1.811 MB / 496.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1017, allocations: 1.766 MB / 498.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.1018, allocations: 4 kB / 498.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1022, allocations: 135.3 kB / 498.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1025, allocations: 147.1 kB / 498.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1038, allocations: 0.9298 MB / 499.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.1041, allocations: 354.6 kB / 0.4883 GB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1042, allocations: 44.67 kB / 0.4884 GB, free: 5.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1043, allocations: 147.5 kB / 0.4885 GB, free: 5.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1045, allocations: 155.3 kB / 0.4887 GB, free: 4.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.1045, allocations: 28 kB / 0.4887 GB, free: 4.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.1048, allocations: 255.7 kB / 0.4889 GB, free: 4.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.1049, allocations: 43.84 kB / 0.489 GB, free: 4.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.996e-05/0.105, allocations: 155.2 kB / 0.4891 GB, free: 4.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.1054, allocations: 0.506 MB / 0.4896 GB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1054, allocations: 8 kB / 0.4896 GB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1054, allocations: 0 / 0.4896 GB, free: 4.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1055, allocations: 0 / 0.4896 GB, free: 4.008 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003595/0.109, allocations: 1.077 MB / 0.4907 GB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1091, allocations: 12.03 kB / 0.4907 GB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.889e-05/0.1091, allocations: 4.188 kB / 0.4907 GB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.1091, allocations: 50.73 kB / 0.4907 GB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.1092, allocations: 32.75 kB / 0.4908 GB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1095, allocations: 287 kB / 0.491 GB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1095, allocations: 20.38 kB / 0.4911 GB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.1096, allocations: 32.23 kB / 0.4911 GB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.1101, allocations: 334.8 kB / 0.4914 GB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1102, allocations: 0 / 0.4914 GB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.1102, allocations: 8 kB / 0.4914 GB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1102, allocations: 4 kB / 0.4914 GB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.1106, allocations: 259.9 kB / 0.4917 GB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1118, allocations: 0.828 MB / 0.4925 GB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.1125, allocations: 386.3 kB / 0.4929 GB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.1128, allocations: 157.3 kB / 0.493 GB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009866/0.1138, allocations: 0.8151 MB / 0.4938 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006791/0.1145, allocations: 378.8 kB / 0.4942 GB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 3.967e-06/0.1145, allocations: 4 kB / 0.4942 GB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.003083/0.1175, allocations: 0.9584 MB / 0.4951 GB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.1177, allocations: 217.6 kB / 0.4953 GB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.118, allocations: 258.6 kB / 0.4956 GB, free: 13.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.1181, allocations: 41.69 kB / 0.4956 GB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1182, allocations: 144.9 kB / 0.4957 GB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1183, allocations: 115.1 kB / 0.4958 GB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1184, allocations: 73.69 kB / 0.4959 GB, free: 13.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1186, allocations: 338.8 kB / 0.4962 GB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.1189, allocations: 132.4 kB / 0.4964 GB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.1192, allocations: 250.3 kB / 0.4966 GB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/0.1227, allocations: 1.013 MB / 0.4976 GB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1228, allocations: 0 / 0.4976 GB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001277/0.124, allocations: 0.5821 MB / 0.4982 GB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.1241, allocations: 37.69 kB / 0.4982 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1241, allocations: 4 kB / 0.4982 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.1257, allocations: 359.3 kB / 0.4985 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.126, allocations: 67.89 kB / 0.4986 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.1284, allocations: 2.257 MB / 0.5008 GB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.1289, allocations: 83.73 kB / 0.5009 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.129, allocations: 19.94 kB / 0.5009 GB, free: 7.703 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = \"V\" fixed = true ) type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real varTra.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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.1293, allocations: 204.9 kB / 0.5011 GB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.1294, allocations: 39.75 kB / 0.5011 GB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.1312, allocations: 0.6755 MB / 0.5018 GB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.1312, allocations: 7.938 kB / 0.5018 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1313, allocations: 4 kB / 0.5018 GB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1313, allocations: 3.984 kB / 0.5018 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.1318, allocations: 429.2 kB / 0.5022 GB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1318, allocations: 4.062 kB / 0.5022 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.132, allocations: 31.92 kB / 0.5023 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.1336, allocations: 411.6 kB / 0.5027 GB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.1336, allocations: 12 kB / 0.5027 GB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.1365, allocations: 2.376 MB / 0.505 GB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1365, allocations: 3.938 kB / 0.505 GB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.1387, allocations: 0.8788 MB / 0.5058 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.1389, allocations: 140.8 kB / 0.506 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.139, allocations: 27.98 kB / 0.506 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.1394, allocations: 56 kB / 0.5061 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.1395, allocations: 31.95 kB / 0.5061 GB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.1395, allocations: 19.98 kB / 0.5061 GB, free: 2.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.1397, allocations: 186 kB / 0.5063 GB, free: 1.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1397, allocations: 4 kB / 0.5063 GB, free: 1.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.1402, allocations: 95.95 kB / 0.5064 GB, free: 1.793 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002848/0.1431, allocations: 1.472 MB / 0.5078 GB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.1446, allocations: 0.5602 MB / 0.5084 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1446, allocations: 4 kB / 0.5084 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.1455, allocations: 394.5 kB / 0.5087 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1459, allocations: 31.38 kB / 0.5088 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005689/0.1516, allocations: 3.497 MB / 0.5122 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.152, allocations: 0.7605 MB / 0.5129 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1521, allocations: 34.27 kB / 0.513 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1523, allocations: 87.41 kB / 0.513 GB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1523, allocations: 4 kB / 0.5131 GB, free: 10.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1859, allocations: 9.564 MB / 0.5224 GB, free: 1.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.23, allocations: 11.84 kB / 0.5224 GB, free: 1.297 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2_fmu --startTime=0 --stopTime=3000 --stepSize=1.2 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.08463944500545] Failed to read output from testmodel.py, exit status != 0: 13.393166565976571 13.420745878 13.310249824 Calling exit ...