Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.0008916/0.0008916, allocations: 72.55 kB / 19.96 MB, free: 4.598 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.001559/0.001559, 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.8999/0.8999, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.02398/0.02398, allocations: 4.472 MB / 264.4 MB, free: 8.777 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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.963e-05, allocations: 10.16 kB / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003902/0.003932, allocations: 2.378 MB / 392 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.006865, allocations: 1.738 MB / 393.7 MB, free: 3.277 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.007155, allocations: 12 kB / 393.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.007728, allocations: 178.8 kB / 393.9 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007725/0.008501, allocations: 262.1 kB / 394.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.0102, allocations: 1.026 MB / 395.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008467/0.01105, allocations: 0.509 MB / 395.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.01125, allocations: 100.9 kB / 395.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.01152, allocations: 299.3 kB / 396.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.01172, allocations: 187.5 kB / 396.3 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.01176, allocations: 40 kB / 396.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.01219, allocations: 259.6 kB / 396.6 MB, free: 420 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.01226, allocations: 103.5 kB / 396.7 MB, free: 316 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.01237, allocations: 171.5 kB / 396.8 MB, free: 144 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007548/0.01313, allocations: 0.701 MB / 397.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.01313, allocations: 4 kB / 397.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01313, allocations: 0 / 397.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.01314, allocations: 3.938 kB / 397.5 MB, free: 15.43 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003656/0.0168, allocations: 1.597 MB / 399.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.01684, allocations: 8.031 kB / 399.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/0.01692, allocations: 74.66 kB / 399.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.01702, allocations: 56.61 kB / 399.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.01736, allocations: 301.6 kB / 399.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.01739, allocations: 29.38 kB / 399.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.01744, allocations: 44.38 kB / 399.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.0182, allocations: 0.8135 MB / 400.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.01821, allocations: 192 / 400.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.01825, allocations: 16.36 kB / 400.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.01826, allocations: 19.94 kB / 400.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.01901, allocations: 0.5584 MB / 401.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.02094, allocations: 1.394 MB / 402.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.0218, allocations: 0.6082 MB / 403.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.02218, allocations: 350.3 kB / 403.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.02329, allocations: 0.9122 MB / 404.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.02332, allocations: 39.06 kB / 404.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 1.844e-06/0.02332, allocations: 0 / 404.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.006/0.02932, allocations: 2.577 MB / 406.9 MB, free: 5.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.02943, allocations: 107.3 kB / 407 MB, free: 5.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.02973, allocations: 345.5 kB / 407.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.0298, allocations: 41.69 kB / 407.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.02991, allocations: 205.4 kB / 407.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.03003, allocations: 190.3 kB / 407.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.03028, allocations: 142.6 kB / 407.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.0304, allocations: 354.7 kB / 408.3 MB, free: 4.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.03089, allocations: 409.9 kB / 408.7 MB, free: 4.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.03148, allocations: 0.563 MB / 409.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.03277, allocations: 0.957 MB / 410.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.03278, allocations: 0 / 410.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00283/0.03561, allocations: 1.774 MB / 412 MB, free: 0.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.03563, allocations: 4 kB / 412 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.03564, allocations: 4 kB / 412 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1529/0.1885, allocations: 1.081 MB / 413.1 MB, free: 33.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.189, allocations: 123 kB / 413.2 MB, free: 33.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/0.1957, allocations: 4.996 MB / 418.2 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.196, allocations: 84.19 kB / 418.3 MB, free: 30.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.196, allocations: 26.08 kB / 418.3 MB, free: 30.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.1962, allocations: 178.1 kB / 418.5 MB, free: 30.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.1963, allocations: 44 kB / 418.5 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.1989, allocations: 1.6 MB / 420.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1989, allocations: 5.312 kB / 420.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1989, allocations: 10.27 kB / 420.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.199, allocations: 3.422 kB / 420.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.1994, allocations: 0.5015 MB / 420.6 MB, free: 29.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1994, allocations: 0 / 420.6 MB, free: 29.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.1995, allocations: 62.56 kB / 420.7 MB, free: 29.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002413/0.2019, allocations: 1.023 MB / 421.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.202, allocations: 12.91 kB / 421.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005543/0.2075, allocations: 4.966 MB / 426.7 MB, free: 25.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2075, allocations: 8.734 kB / 426.7 MB, free: 25.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.2099, allocations: 1.605 MB / 428.3 MB, free: 25.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.21, allocations: 48.8 kB / 428.3 MB, free: 25.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.21, allocations: 11.94 kB / 428.4 MB, free: 25.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.2102, allocations: 25.11 kB / 428.4 MB, free: 25.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.2104, allocations: 50.56 kB / 428.4 MB, free: 25.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.2104, allocations: 17.47 kB / 428.4 MB, free: 25.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.2105, allocations: 224.4 kB / 428.7 MB, free: 25.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2105, allocations: 4 kB / 428.7 MB, free: 25.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005742/0.2111, allocations: 234 kB / 428.9 MB, free: 25.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002634/0.2138, allocations: 2.181 MB / 431.1 MB, free: 23.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.2156, allocations: 1.252 MB / 432.3 MB, free: 23.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2156, allocations: 0 / 432.3 MB, free: 23.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009777/0.2166, allocations: 0.7774 MB / 433.1 MB, free: 22.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2168, allocations: 37.41 kB / 433.1 MB, free: 22.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/0.2238, allocations: 6.685 MB / 439.8 MB, free: 18.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.224, allocations: 230.7 kB / 440.1 MB, free: 18.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.2241, allocations: 63.33 kB / 440.1 MB, free: 18.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.2242, allocations: 152.4 kB / 440.3 MB, free: 18.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2242, allocations: 0 / 440.3 MB, free: 18.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.2505, allocations: 19.32 MB / 459.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.745, allocations: 6.438 kB / 459.6 MB, free: 15.16 MB / 346.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.56044232007116] Failed to read output from testmodel.py, exit status != 0: 7.836328273639083 7.846364043 7.831321865 Calling exit ...