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.001341/0.001341, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001594/0.001594, allocations: 223.7 kB / 23.03 MB, free: 4.621 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.0397/0.0397, allocations: 6.142 MB / 319.3 MB, free: 12.75 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 444.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 55.03 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003433/0.111, allocations: 1.666 MB / 0.4894 GB, free: 12.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.1135, allocations: 1.673 MB / 0.491 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.1136, allocations: 4 kB / 0.491 GB, free: 10.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1141, allocations: 131.3 kB / 0.4911 GB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.1145, allocations: 147.1 kB / 0.4913 GB, free: 10.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.1164, allocations: 0.8778 MB / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.1169, allocations: 342.7 kB / 0.4925 GB, free: 9.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1171, allocations: 36.91 kB / 0.4925 GB, free: 9.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1172, allocations: 139.5 kB / 0.4926 GB, free: 8.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1175, allocations: 139.4 kB / 0.4928 GB, free: 8.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.1175, allocations: 32 kB / 0.4928 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.118, allocations: 239.8 kB / 0.493 GB, free: 8.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.1181, allocations: 55.72 kB / 0.4931 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1182, allocations: 127.4 kB / 0.4932 GB, free: 8.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006867/0.1189, allocations: 0.5022 MB / 0.4937 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1189, allocations: 0 / 0.4937 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1189, allocations: 0 / 0.4937 GB, free: 7.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1189, allocations: 0 / 0.4937 GB, free: 7.852 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.00375/0.1227, allocations: 1.001 MB / 0.4947 GB, free: 6.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1227, allocations: 8.031 kB / 0.4947 GB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.101e-05/0.1228, allocations: 62.67 kB / 0.4947 GB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.1229, allocations: 36.75 kB / 0.4948 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1233, allocations: 225.1 kB / 0.495 GB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.1233, allocations: 20.38 kB / 0.495 GB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.1234, allocations: 20.56 kB / 0.495 GB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007937/0.1242, allocations: 0.5009 MB / 0.4955 GB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1242, allocations: 0 / 0.4955 GB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.1242, allocations: 7.984 kB / 0.4955 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1242, allocations: 4 kB / 0.4955 GB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.1248, allocations: 309.5 kB / 0.4958 GB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.1262, allocations: 0.6984 MB / 0.4965 GB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.1271, allocations: 336.2 kB / 0.4968 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.1275, allocations: 190.5 kB / 0.497 GB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009266/0.1284, allocations: 0.5817 MB / 0.4976 GB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007884/0.1292, allocations: 0.508 MB / 0.4981 GB, free: 3.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.1292, allocations: 0 / 0.4981 GB, free: 3.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002959/0.1321, allocations: 0.9432 MB / 0.499 GB, free: 2.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.1323, allocations: 217.6 kB / 0.4992 GB, free: 1.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1326, allocations: 273.8 kB / 0.4995 GB, free: 1.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.1327, allocations: 37.7 kB / 0.4995 GB, free: 1.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1328, allocations: 144.8 kB / 0.4996 GB, free: 1.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.1329, allocations: 107.1 kB / 0.4997 GB, free: 1.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.133, allocations: 77.69 kB / 0.4998 GB, free: 1.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1332, allocations: 342.8 kB / 0.5001 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.1335, allocations: 170 kB / 0.5003 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.134, allocations: 327.7 kB / 0.5006 GB, free: 300 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.1374, allocations: 1.037 MB / 0.5016 GB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1374, allocations: 4 kB / 0.5016 GB, free: 15.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0012/0.1386, allocations: 0.6479 MB / 0.5023 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.1386, allocations: 45.72 kB / 0.5023 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1386, allocations: 4 kB / 0.5023 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.1402, allocations: 384.8 kB / 0.5027 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.1404, allocations: 71.89 kB / 0.5027 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.1428, allocations: 2.231 MB / 0.5049 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.1433, allocations: 75.73 kB / 0.505 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1433, allocations: 19.98 kB / 0.505 GB, free: 11.51 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.0003822/0.1437, allocations: 212.9 kB / 0.5052 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.1438, allocations: 39.73 kB / 0.5052 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.1457, allocations: 0.7579 MB / 0.506 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1457, allocations: 7.938 kB / 0.506 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1457, allocations: 3.938 kB / 0.506 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1457, allocations: 3.984 kB / 0.506 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1462, allocations: 344.4 kB / 0.5063 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1462, allocations: 0 / 0.5063 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.1463, allocations: 31.98 kB / 0.5064 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.148, allocations: 457.3 kB / 0.5068 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.148, allocations: 12 kB / 0.5068 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.1507, allocations: 2.357 MB / 0.5091 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1507, allocations: 8.25 kB / 0.5091 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.1531, allocations: 1.012 MB / 0.5101 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.1533, allocations: 75.72 kB / 0.5102 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.1533, allocations: 20.06 kB / 0.5102 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.1537, allocations: 54.19 kB / 0.5102 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.1538, allocations: 35.94 kB / 0.5103 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.1539, allocations: 15.98 kB / 0.5103 GB, free: 5.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.1541, allocations: 189.2 kB / 0.5105 GB, free: 5.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1541, allocations: 7.938 kB / 0.5105 GB, free: 5.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004633/0.1546, allocations: 92 kB / 0.5106 GB, free: 5.492 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.002738/0.1573, allocations: 1.612 MB / 0.5121 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.1588, allocations: 0.6383 MB / 0.5128 GB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1588, allocations: 4 kB / 0.5128 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.1597, allocations: 435.5 kB / 0.5132 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.16, allocations: 28.5 kB / 0.5132 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2126/0.3726, allocations: 3.755 MB / 0.5169 GB, free: 30.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.3727, allocations: 150.9 kB / 0.517 GB, free: 29.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.3729, allocations: 30.33 kB / 0.5171 GB, free: 29.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.373, allocations: 96.23 kB / 0.5171 GB, free: 29.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.373, allocations: 3.688 kB / 0.5172 GB, free: 29.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.4138, allocations: 9.433 MB / 0.5264 GB, free: 28.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.52, allocations: 5.375 kB / 0.5264 GB, free: 28.52 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.197709504980594] Failed to read output from testmodel.py, exit status != 0: 13.640762605238706 13.663865044 13.541814009 Calling exit ...