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.0009578/0.0009578, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.0008349/0.0008349, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.8777/0.8777, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.02824/0.02824, allocations: 4.473 MB / 264.5 MB, free: 8.785 MB / 250.7 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 1.703e-06/1.703e-06, allocations: 0 / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.465e-05, allocations: 5.234 kB / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002576/0.002591, allocations: 2.938 MB / 392.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.00386, allocations: 1.082 MB / 393.6 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.00397, allocations: 4 kB / 393.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.004269, allocations: 158.9 kB / 393.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.004682, allocations: 266.2 kB / 394.1 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.005794, allocations: 1.179 MB / 395.2 MB, free: 1.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.006228, allocations: 0.5134 MB / 395.8 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.006365, allocations: 77.41 kB / 395.8 MB, free: 1.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.00657, allocations: 291.4 kB / 396.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.006765, allocations: 187.5 kB / 396.3 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.006809, allocations: 44 kB / 396.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.007137, allocations: 315.5 kB / 396.6 MB, free: 364 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.00719, allocations: 87.61 kB / 396.7 MB, free: 276 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.007308, allocations: 163.5 kB / 396.9 MB, free: 112 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.007921, allocations: 0.744 MB / 397.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.007924, allocations: 4 kB / 397.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007925, allocations: 0 / 397.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00793, allocations: 0 / 397.6 MB, free: 15.36 MB / 330.7 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.002388/0.01032, allocations: 1.255 MB / 398.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.01035, allocations: 8.031 kB / 398.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.01041, allocations: 66.73 kB / 399 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.01048, allocations: 48.66 kB / 399 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.01079, allocations: 297.6 kB / 399.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.01084, allocations: 58.91 kB / 399.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.01089, allocations: 28.38 kB / 399.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.01148, allocations: 0.6123 MB / 400 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.01149, allocations: 192 / 400 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.01152, allocations: 23.88 kB / 400 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.01153, allocations: 11.98 kB / 400 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.0122, allocations: 0.4962 MB / 400.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.01373, allocations: 1.279 MB / 401.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.01441, allocations: 0.5134 MB / 402.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.01474, allocations: 315.1 kB / 402.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.01482, allocations: 12.31 kB / 402.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005924/0.01542, allocations: 0.6811 MB / 403.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.693e-06/0.01542, allocations: 0 / 403.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.003495/0.01891, allocations: 1.848 MB / 405.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.01898, allocations: 207.8 kB / 405.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.01921, allocations: 320.4 kB / 405.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.01925, allocations: 37.7 kB / 405.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.01933, allocations: 181 kB / 405.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.01942, allocations: 154.7 kB / 406.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.01955, allocations: 110.1 kB / 406.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.01964, allocations: 350.7 kB / 406.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.01997, allocations: 334.7 kB / 406.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.02034, allocations: 409.1 kB / 407.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.02439, allocations: 2.175 MB / 409.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02439, allocations: 0 / 409.4 MB, free: 3.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001915/0.02631, allocations: 1.334 MB / 410.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.02662, allocations: 41.69 kB / 410.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02662, allocations: 4 kB / 410.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/0.0285, allocations: 0.8909 MB / 411.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.02865, allocations: 79.83 kB / 411.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1458/0.1745, allocations: 1.331 MB / 413.1 MB, free: 33.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.175, allocations: 96.75 kB / 413.2 MB, free: 33.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.175, allocations: 18.94 kB / 413.2 MB, free: 33.82 MB / 330.7 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.0002771/0.1753, allocations: 218.3 kB / 413.4 MB, free: 33.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.1753, allocations: 51 kB / 413.5 MB, free: 33.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.1767, allocations: 1.133 MB / 414.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1767, allocations: 5.547 kB / 414.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1767, allocations: 0 / 414.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1767, allocations: 3.609 kB / 414.6 MB, free: 33.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.177, allocations: 480.1 kB / 415.1 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.177, allocations: 1.125 kB / 415.1 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1771, allocations: 44.55 kB / 415.1 MB, free: 32.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/0.1792, allocations: 0.956 MB / 416.1 MB, free: 32.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.1792, allocations: 21.47 kB / 416.1 MB, free: 32.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.1805, allocations: 1.502 MB / 417.6 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1805, allocations: 0.5469 kB / 417.6 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1816, allocations: 1.091 MB / 418.7 MB, free: 31.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.1818, allocations: 126.4 kB / 418.8 MB, free: 31.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.1819, allocations: 27.09 kB / 418.8 MB, free: 31.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.1821, allocations: 62.27 kB / 418.9 MB, free: 31.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1822, allocations: 52.19 kB / 418.9 MB, free: 31.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.1822, allocations: 23.5 kB / 419 MB, free: 31.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1824, allocations: 226.8 kB / 419.2 MB, free: 30.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1824, allocations: 0 / 419.2 MB, free: 30.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.1827, allocations: 140.5 kB / 419.3 MB, free: 30.95 MB / 330.7 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.001396/0.1841, allocations: 1.683 MB / 421 MB, free: 29.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.1853, allocations: 0.8986 MB / 421.9 MB, free: 29.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1853, allocations: 0 / 421.9 MB, free: 29.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.1859, allocations: 0.5338 MB / 422.4 MB, free: 29.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.1862, allocations: 44.81 kB / 422.5 MB, free: 29.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.1926, allocations: 5.771 MB / 428.3 MB, free: 26.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.1927, allocations: 203.7 kB / 428.5 MB, free: 25.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1928, allocations: 47.5 kB / 428.5 MB, free: 25.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.1929, allocations: 134.7 kB / 428.6 MB, free: 25.82 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1929, allocations: 1.375 kB / 428.6 MB, free: 25.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.2168, allocations: 13.58 MB / 442.2 MB, free: 16.37 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.232, allocations: 0 / 442.2 MB, free: 16.37 MB / 330.7 MB " [Timeout remaining time 652] (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: 9.996776117943227] Failed to read output from testmodel.py, exit status != 0: 8.325909558683634 8.334197406 8.324962775 Calling exit ...