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.001717/0.001717, 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.002215/0.002215, allocations: 224.9 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.06345/0.06345, allocations: 6.138 MB / 319.3 MB, free: 12.83 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.001537/0.001537, allocations: 51.92 kB / 444.4 MB, free: 5.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 55.02 MB / 499.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003089/0.1069, allocations: 1.654 MB / 0.4894 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1094, allocations: 1.669 MB / 0.491 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.1095, allocations: 4 kB / 0.491 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.1099, allocations: 135.3 kB / 0.4911 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.1103, allocations: 151 kB / 0.4913 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.112, allocations: 0.8699 MB / 0.4921 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.1125, allocations: 346.7 kB / 0.4924 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1126, allocations: 36.86 kB / 0.4925 GB, free: 9.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1128, allocations: 143.5 kB / 0.4926 GB, free: 8.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.113, allocations: 143.3 kB / 0.4928 GB, free: 8.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.1131, allocations: 28 kB / 0.4928 GB, free: 8.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.1135, allocations: 231.8 kB / 0.493 GB, free: 8.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.1136, allocations: 63.7 kB / 0.4931 GB, free: 8.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.1137, allocations: 123.4 kB / 0.4932 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.1144, allocations: 0.5022 MB / 0.4937 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1144, allocations: 0 / 0.4937 GB, free: 7.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1145, allocations: 0 / 0.4937 GB, free: 7.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1145, allocations: 3.938 kB / 0.4937 GB, free: 7.91 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.003863/0.1183, allocations: 1.005 MB / 0.4947 GB, free: 6.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1184, allocations: 8.031 kB / 0.4947 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/0.1184, allocations: 58.67 kB / 0.4947 GB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.1185, allocations: 36.75 kB / 0.4948 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.119, allocations: 229.1 kB / 0.495 GB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.119, allocations: 16.38 kB / 0.495 GB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/0.1191, allocations: 20.56 kB / 0.495 GB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.1199, allocations: 0.5087 MB / 0.4955 GB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1199, allocations: 0 / 0.4955 GB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.12, allocations: 8 kB / 0.4955 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.12, allocations: 4 kB / 0.4955 GB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.1206, allocations: 309.5 kB / 0.4958 GB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.122, allocations: 0.6907 MB / 0.4965 GB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.1229, allocations: 340.1 kB / 0.4968 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.1233, allocations: 194.5 kB / 0.497 GB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.1243, allocations: 0.5779 MB / 0.4976 GB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007761/0.125, allocations: 0.5119 MB / 0.4981 GB, free: 3.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.125, allocations: 0 / 0.4981 GB, free: 3.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002903/0.1279, allocations: 0.9393 MB / 0.499 GB, free: 2.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.1281, allocations: 217.6 kB / 0.4992 GB, free: 1.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.1285, allocations: 269.7 kB / 0.4994 GB, free: 1.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.1286, allocations: 41.7 kB / 0.4995 GB, free: 1.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1287, allocations: 148.8 kB / 0.4996 GB, free: 1.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1288, allocations: 99.12 kB / 0.4997 GB, free: 1.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.129, allocations: 81.69 kB / 0.4998 GB, free: 1.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1292, allocations: 342.7 kB / 0.5001 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.1295, allocations: 170.1 kB / 0.5003 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.1299, allocations: 327.7 kB / 0.5006 GB, free: 356 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/0.1336, allocations: 1.037 MB / 0.5016 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1336, allocations: 4 kB / 0.5016 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001367/0.135, allocations: 0.6476 MB / 0.5022 GB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.135, allocations: 41.69 kB / 0.5023 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1351, allocations: 352 / 0.5023 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.1366, allocations: 396.8 kB / 0.5027 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.1369, allocations: 67.84 kB / 0.5027 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.1395, allocations: 2.225 MB / 0.5049 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.1399, allocations: 83.73 kB / 0.505 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.14, allocations: 23.98 kB / 0.505 GB, free: 11.56 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.0003468/0.1403, allocations: 215.6 kB / 0.5052 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.1404, allocations: 35.75 kB / 0.5052 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.1422, allocations: 0.7656 MB / 0.506 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1422, allocations: 4 kB / 0.506 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1422, allocations: 3.938 kB / 0.506 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1422, allocations: 3.984 kB / 0.506 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.1427, allocations: 336.4 kB / 0.5063 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1427, allocations: 7.984 kB / 0.5063 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1429, allocations: 27.98 kB / 0.5064 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.1445, allocations: 453.3 kB / 0.5068 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.1445, allocations: 20 kB / 0.5068 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.1472, allocations: 2.353 MB / 0.5091 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1472, allocations: 0 / 0.5091 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.1494, allocations: 1.02 MB / 0.5101 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.1496, allocations: 71.69 kB / 0.5102 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.1497, allocations: 20 kB / 0.5102 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.1501, allocations: 56 kB / 0.5102 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.1502, allocations: 31.95 kB / 0.5103 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.1503, allocations: 15.98 kB / 0.5103 GB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.1505, allocations: 189.2 kB / 0.5105 GB, free: 5.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1505, allocations: 0 / 0.5105 GB, free: 5.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.1509, allocations: 96 kB / 0.5106 GB, free: 5.551 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.002753/0.1537, allocations: 1.616 MB / 0.5121 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.1551, allocations: 0.6423 MB / 0.5128 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1551, allocations: 0 / 0.5128 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008877/0.156, allocations: 439.5 kB / 0.5132 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.1563, allocations: 32.5 kB / 0.5132 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2012/0.3575, allocations: 3.75 MB / 0.5169 GB, free: 29.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3576, allocations: 155.8 kB / 0.517 GB, free: 29.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.3577, allocations: 23.28 kB / 0.5171 GB, free: 29.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.3579, allocations: 98.92 kB / 0.5171 GB, free: 29.91 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3579, allocations: 0 / 0.5171 GB, free: 29.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03989/0.3977, allocations: 9.44 MB / 0.5264 GB, free: 28.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.82, allocations: 7.062 kB / 0.5264 GB, free: 28.46 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2_res.csv --start-time 0 --stop-time 3000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.2 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.672049074899405] Failed to read output from testmodel.py, exit status != 0: 13.939269812777638 13.953010521 13.835444426 Calling exit ...