Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.001334/0.001334, allocations: 115.7 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.001447/0.001447, allocations: 220.3 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.03798/0.03798, allocations: 6.144 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.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 43.92 kB / 444.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.0992, allocations: 55.03 MB / 499.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004816/0.104, allocations: 3.2 MB / 0.4909 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.1065, allocations: 1.152 MB / 0.4921 GB, free: 9.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.1067, allocations: 4 kB / 0.4921 GB, free: 9.953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.1072, allocations: 171 kB / 0.4922 GB, free: 9.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006265/0.1078, allocations: 254.5 kB / 0.4925 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.1102, allocations: 1.283 MB / 0.4937 GB, free: 8.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.1111, allocations: 0.5019 MB / 0.4942 GB, free: 7.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.1113, allocations: 84.64 kB / 0.4943 GB, free: 7.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.1116, allocations: 203.3 kB / 0.4945 GB, free: 7.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.1119, allocations: 251 kB / 0.4947 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.112, allocations: 44 kB / 0.4948 GB, free: 7.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.1127, allocations: 323.7 kB / 0.4951 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1128, allocations: 87.56 kB / 0.4952 GB, free: 6.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.1131, allocations: 234.8 kB / 0.4954 GB, free: 6.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1143, allocations: 0.7007 MB / 0.4961 GB, free: 5.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1143, allocations: 0 / 0.4961 GB, free: 5.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1143, allocations: 0 / 0.4961 GB, free: 5.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1143, allocations: 0 / 0.4961 GB, free: 5.832 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004883/0.1192, allocations: 1.251 MB / 0.4973 GB, free: 4.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1192, allocations: 8.031 kB / 0.4973 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.1193, allocations: 70.72 kB / 0.4974 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1195, allocations: 48.66 kB / 0.4974 GB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.1201, allocations: 294.3 kB / 0.4977 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/0.1202, allocations: 58.92 kB / 0.4978 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.1202, allocations: 32.38 kB / 0.4978 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.1212, allocations: 485.8 kB / 0.4983 GB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1212, allocations: 0 / 0.4983 GB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.1213, allocations: 15.94 kB / 0.4983 GB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1213, allocations: 8 kB / 0.4983 GB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.1222, allocations: 482.4 kB / 0.4987 GB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.125, allocations: 1.531 MB / 0.5002 GB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1261, allocations: 492.8 kB / 0.5007 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.1267, allocations: 277.5 kB / 0.501 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1269, allocations: 12.31 kB / 0.501 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009709/0.1278, allocations: 0.5462 MB / 0.5015 GB, free: 64 kB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.1278, allocations: 4 kB / 0.5015 GB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.006251/0.1341, allocations: 1.732 MB / 0.5032 GB, free: 14.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.1342, allocations: 195.9 kB / 0.5034 GB, free: 14.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.1346, allocations: 320.4 kB / 0.5037 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.1347, allocations: 41.7 kB / 0.5037 GB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1348, allocations: 177 kB / 0.5039 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.135, allocations: 170.6 kB / 0.5041 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.1352, allocations: 102.2 kB / 0.5042 GB, free: 13.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1353, allocations: 354.7 kB / 0.5045 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.1359, allocations: 289 kB / 0.5048 GB, free: 12.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.1364, allocations: 349.7 kB / 0.5051 GB, free: 12.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008379/0.1448, allocations: 2.163 MB / 0.5072 GB, free: 10.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1448, allocations: 0 / 0.5072 GB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003695/0.1485, allocations: 1.268 MB / 0.5085 GB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.1486, allocations: 41.69 kB / 0.5085 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1486, allocations: 7.938 kB / 0.5085 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.1525, allocations: 0.8612 MB / 0.5094 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.1528, allocations: 75.83 kB / 0.5094 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.1548, allocations: 1.269 MB / 0.5107 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.1554, allocations: 91.67 kB / 0.5108 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.1554, allocations: 19.98 kB / 0.5108 GB, free: 6.371 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: 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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.1558, allocations: 237.3 kB / 0.511 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.1559, allocations: 47.72 kB / 0.511 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.158, allocations: 1.047 MB / 0.5121 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.158, allocations: 4 kB / 0.5121 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.158, allocations: 4 kB / 0.5121 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.158, allocations: 0 / 0.5121 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.1587, allocations: 0.5986 MB / 0.5127 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1587, allocations: 3.938 kB / 0.5127 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.1589, allocations: 51.91 kB / 0.5127 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/0.1629, allocations: 0.9122 MB / 0.5136 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.1629, allocations: 15.98 kB / 0.5136 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.1651, allocations: 1.405 MB / 0.515 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1651, allocations: 0 / 0.515 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.167, allocations: 1.009 MB / 0.516 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.1673, allocations: 115.5 kB / 0.5161 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.1674, allocations: 27.98 kB / 0.5161 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.1679, allocations: 63.94 kB / 0.5162 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.168, allocations: 48.36 kB / 0.5162 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.1681, allocations: 19.98 kB / 0.5162 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.1684, allocations: 231 kB / 0.5165 GB, free: 420 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1684, allocations: 0 / 0.5165 GB, free: 420 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.1688, allocations: 140 kB / 0.5166 GB, free: 280 kB / 382.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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2011/0.3699, allocations: 1.596 MB / 0.5182 GB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.3718, allocations: 0.8256 MB / 0.519 GB, free: 30.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.3718, allocations: 0 / 0.519 GB, free: 30.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3729, allocations: 496.9 kB / 0.5194 GB, free: 30.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3734, allocations: 46.77 kB / 0.5195 GB, free: 30.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.3837, allocations: 5.486 MB / 0.5248 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3839, allocations: 0.8014 MB / 0.5256 GB, free: 28.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.384, allocations: 49.03 kB / 0.5257 GB, free: 28.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3842, allocations: 134.1 kB / 0.5258 GB, free: 28.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3842, allocations: 1.5 kB / 0.5258 GB, free: 28.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.4326, allocations: 15.09 MB / 0.5405 GB, free: 23.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.71, allocations: 4.969 kB / 0.5405 GB, free: 23.22 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.366685292996408] Failed to read output from testmodel.py, exit status != 0: 13.836104529000295 13.857733494 13.739338885 Calling exit ...