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.001272/0.001272, 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.001429/0.001429, allocations: 214.6 kB / 23.84 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.485/1.485, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.03686/0.03686, allocations: 6.137 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.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.001528/0.001528, allocations: 47.94 kB / 445.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09825, allocations: 55.03 MB / 0.4886 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003191/0.1014, allocations: 1.827 MB / 0.4904 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.104, allocations: 1.75 MB / 0.4921 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1041, allocations: 4 kB / 0.4921 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.1045, allocations: 151.1 kB / 0.4922 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1049, allocations: 147.1 kB / 0.4924 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.1066, allocations: 0.9377 MB / 0.4933 GB, free: 9.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.1072, allocations: 342.7 kB / 0.4936 GB, free: 9.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1073, allocations: 44.92 kB / 0.4937 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.1075, allocations: 135.5 kB / 0.4938 GB, free: 8.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1077, allocations: 159.3 kB / 0.4939 GB, free: 8.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.1077, allocations: 32 kB / 0.494 GB, free: 8.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.1082, allocations: 255.7 kB / 0.4942 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1083, allocations: 51.72 kB / 0.4943 GB, free: 8.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.1084, allocations: 151.3 kB / 0.4944 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.1091, allocations: 0.5061 MB / 0.4949 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1091, allocations: 0 / 0.4949 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1091, allocations: 0 / 0.4949 GB, free: 7.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1091, allocations: 7.938 kB / 0.4949 GB, free: 7.77 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003813/0.1129, allocations: 0.9975 MB / 0.4959 GB, free: 6.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.113, allocations: 12.03 kB / 0.4959 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.74e-05/0.113, allocations: 4.188 kB / 0.4959 GB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/0.1131, allocations: 50.73 kB / 0.4959 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.1131, allocations: 32.75 kB / 0.496 GB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1135, allocations: 245 kB / 0.4962 GB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.1135, allocations: 12.38 kB / 0.4962 GB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1136, allocations: 36.3 kB / 0.4963 GB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.1143, allocations: 334.8 kB / 0.4966 GB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1143, allocations: 0 / 0.4966 GB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.1144, allocations: 12 kB / 0.4966 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1144, allocations: 4 kB / 0.4966 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.1149, allocations: 271.8 kB / 0.4969 GB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1164, allocations: 0.8036 MB / 0.4976 GB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.1172, allocations: 298.5 kB / 0.4979 GB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.1175, allocations: 156.8 kB / 0.4981 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000954/0.1185, allocations: 0.648 MB / 0.4987 GB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006979/0.1192, allocations: 379.6 kB / 0.4991 GB, free: 3.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.1192, allocations: 4 kB / 0.4991 GB, free: 3.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002863/0.122, allocations: 0.8156 MB / 0.4999 GB, free: 2.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.1222, allocations: 221.6 kB / 0.5001 GB, free: 2.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.1226, allocations: 261.8 kB / 0.5003 GB, free: 1.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.1226, allocations: 37.7 kB / 0.5004 GB, free: 1.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1227, allocations: 144.9 kB / 0.5005 GB, free: 1.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.1229, allocations: 115 kB / 0.5006 GB, free: 1.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.123, allocations: 81.67 kB / 0.5007 GB, free: 1.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1232, allocations: 334.8 kB / 0.501 GB, free: 1.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.1234, allocations: 140.4 kB / 0.5011 GB, free: 1.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.1238, allocations: 238.5 kB / 0.5014 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.1272, allocations: 1.021 MB / 0.5024 GB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1272, allocations: 0 / 0.5024 GB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001185/0.1284, allocations: 0.5858 MB / 0.5029 GB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.1284, allocations: 37.69 kB / 0.503 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1284, allocations: 4 kB / 0.503 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.13, allocations: 355.3 kB / 0.5033 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.1303, allocations: 63.91 kB / 0.5034 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.1326, allocations: 2.161 MB / 0.5055 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.1331, allocations: 79.69 kB / 0.5056 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.1332, allocations: 23.98 kB / 0.5056 GB, free: 12.25 MB / 382.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.000406/0.1336, allocations: 220 kB / 0.5058 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.1337, allocations: 39.75 kB / 0.5058 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.1355, allocations: 0.6725 MB / 0.5065 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1355, allocations: 7.938 kB / 0.5065 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1355, allocations: 0 / 0.5065 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1355, allocations: 7.938 kB / 0.5065 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.136, allocations: 412.3 kB / 0.5069 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.136, allocations: 0 / 0.5069 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.1362, allocations: 31.98 kB / 0.5069 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.1378, allocations: 407.6 kB / 0.5073 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.1378, allocations: 15.92 kB / 0.5073 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.1406, allocations: 2.273 MB / 0.5096 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.1407, allocations: 11.91 kB / 0.5096 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.1429, allocations: 0.8709 MB / 0.5104 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.1431, allocations: 75.72 kB / 0.5105 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.1431, allocations: 16 kB / 0.5105 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.1435, allocations: 62.38 kB / 0.5106 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.1437, allocations: 31.95 kB / 0.5106 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.1437, allocations: 19.98 kB / 0.5106 GB, free: 6.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.144, allocations: 189.2 kB / 0.5108 GB, free: 6.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.144, allocations: 0 / 0.5108 GB, free: 6.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.1445, allocations: 95.94 kB / 0.5109 GB, free: 6.559 MB / 382.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.002856/0.1473, allocations: 1.478 MB / 0.5123 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.1488, allocations: 0.5684 MB / 0.5129 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.1488, allocations: 4 kB / 0.5129 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008617/0.1496, allocations: 381.9 kB / 0.5133 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.15, allocations: 28.5 kB / 0.5133 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.1562, allocations: 3.505 MB / 0.5167 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1957/0.352, allocations: 0.757 MB / 0.5174 GB, free: 30.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.3521, allocations: 28.91 kB / 0.5175 GB, free: 30.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3523, allocations: 94.97 kB / 0.5176 GB, free: 30.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3523, allocations: 2.734 kB / 0.5176 GB, free: 30.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.3881, allocations: 9.871 MB / 0.5272 GB, free: 28.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.04, allocations: 6.969 kB / 0.5272 GB, free: 28.91 MB / 382.1 MB " [Timeout remaining time 646] (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.81899405294098] Failed to read output from testmodel.py, exit status != 0: 14.224303268943913 14.247556689 14.134142794 Calling exit ...