Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.0008253/0.0008253, 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.000825/0.000825, 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.8751/0.8751, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.02092/0.02092, allocations: 4.472 MB / 264.5 MB, free: 8.77 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.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.397e-05, allocations: 2.281 kB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00237/0.002384, allocations: 2.498 MB / 392.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003707, allocations: 1.312 MB / 393.4 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.003802, allocations: 4 kB / 393.4 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.004436, allocations: 254.8 kB / 393.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.004735, allocations: 278.5 kB / 394 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.00571, allocations: 0.9259 MB / 394.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.006059, allocations: 466.2 kB / 395.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.006167, allocations: 40.89 kB / 395.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.006359, allocations: 275.4 kB / 395.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.006586, allocations: 267.4 kB / 395.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.006626, allocations: 36 kB / 395.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.006942, allocations: 315.5 kB / 396.2 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.007044, allocations: 143.5 kB / 396.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.007155, allocations: 151.5 kB / 396.5 MB, free: 464 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.007718, allocations: 0.7711 MB / 397.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00772, allocations: 0 / 397.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007721, allocations: 0 / 397.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007726, allocations: 0 / 397.3 MB, free: 15.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002146/0.009872, allocations: 1.309 MB / 398.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.009904, allocations: 8.031 kB / 398.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.009952, allocations: 50.73 kB / 398.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.01003, allocations: 72.52 kB / 398.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.01043, allocations: 417.7 kB / 399.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.01045, allocations: 16.38 kB / 399.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.01049, allocations: 24.38 kB / 399.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.01103, allocations: 0.6049 MB / 399.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01104, allocations: 3.938 kB / 399.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.01106, allocations: 12 kB / 399.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.01107, allocations: 4 kB / 399.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.01146, allocations: 411.4 kB / 400.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.01268, allocations: 0.8636 MB / 401.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.01323, allocations: 450 kB / 401.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.01348, allocations: 288.4 kB / 401.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.01409, allocations: 0.6016 MB / 402.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.01456, allocations: 0.6628 MB / 403.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.373e-06/0.01456, allocations: 0 / 403.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001904/0.01647, allocations: 1.384 MB / 404.4 MB, free: 8.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.01656, allocations: 255.3 kB / 404.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.01703, allocations: 0.6826 MB / 405.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.01706, allocations: 37.7 kB / 405.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01719, allocations: 252.8 kB / 405.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.01726, allocations: 126.9 kB / 405.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.01735, allocations: 90.05 kB / 405.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.01746, allocations: 378.8 kB / 406.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.01768, allocations: 264.2 kB / 406.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.01795, allocations: 425.6 kB / 406.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.01997, allocations: 1.423 MB / 408.3 MB, free: 4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01998, allocations: 0 / 408.3 MB, free: 4 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009958/0.02097, allocations: 1.023 MB / 409.4 MB, free: 2.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.02101, allocations: 67.39 kB / 409.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.02102, allocations: 4 kB / 409.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.02172, allocations: 396.8 kB / 409.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.02184, allocations: 67.91 kB / 409.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1364/0.1582, allocations: 2.223 MB / 412.1 MB, free: 33.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.1588, allocations: 79.98 kB / 412.2 MB, free: 33.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.1588, allocations: 23.7 kB / 412.2 MB, free: 33.84 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0004042/0.1592, allocations: 317.7 kB / 412.5 MB, free: 33.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.1593, allocations: 68.98 kB / 412.6 MB, free: 33.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.1608, allocations: 1.128 MB / 413.7 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1608, allocations: 7.25 kB / 413.7 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1608, allocations: 0 / 413.7 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1608, allocations: 1.547 kB / 413.7 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.1612, allocations: 455.1 kB / 414.2 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1612, allocations: 1.094 kB / 414.2 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.1613, allocations: 34.03 kB / 414.2 MB, free: 33.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008295/0.1621, allocations: 454.4 kB / 414.7 MB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.1621, allocations: 15.44 kB / 414.7 MB, free: 33.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.1634, allocations: 2.357 MB / 417 MB, free: 31.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1634, allocations: 1.797 kB / 417 MB, free: 31.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.1647, allocations: 1.133 MB / 418.2 MB, free: 30.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.1649, allocations: 132.2 kB / 418.3 MB, free: 30.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.165, allocations: 23.88 kB / 418.3 MB, free: 30.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.1652, allocations: 55.3 kB / 418.4 MB, free: 30.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.1653, allocations: 38.89 kB / 418.4 MB, free: 30.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.1653, allocations: 25.16 kB / 418.4 MB, free: 30.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004239/0.1657, allocations: 497.7 kB / 418.9 MB, free: 30.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1657, allocations: 0 / 418.9 MB, free: 30.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003889/0.1661, allocations: 141.9 kB / 419.1 MB, free: 30.3 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.001501/0.1676, allocations: 1.752 MB / 420.8 MB, free: 29.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.1686, allocations: 0.9089 MB / 421.7 MB, free: 28.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1686, allocations: 0.625 kB / 421.7 MB, free: 28.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.1691, allocations: 0.604 MB / 422.3 MB, free: 28.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1694, allocations: 51.73 kB / 422.4 MB, free: 28.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007205/0.1766, allocations: 7.372 MB / 429.7 MB, free: 24.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1768, allocations: 275.9 kB / 430 MB, free: 24.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1769, allocations: 58.02 kB / 430.1 MB, free: 24.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.177, allocations: 188.4 kB / 430.2 MB, free: 24.38 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.177, allocations: 0 / 430.2 MB, free: 24.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.2044, allocations: 14.53 MB / 444.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.457/8.661, allocations: 4 kB / 444.8 MB, free: 12.81 MB / 330.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.14 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.428849584423006] Failed to read output from testmodel.py, exit status != 0: 8.75984884146601 8.767802521 8.758492609 Calling exit ...