Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.0008676/0.0008676, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001072/0.001072, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9424/0.9424, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2347/0.2347, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.165e-05, allocations: 8.109 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004367/0.004388, allocations: 4.576 MB / 434.8 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.006558, allocations: 1.277 MB / 436.1 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.006763, allocations: 19.81 kB / 436.1 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.007618, allocations: 404.5 kB / 436.5 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.008176, allocations: 246.5 kB / 436.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.008702, allocations: 187.4 kB / 436.9 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.009371, allocations: 0.5643 MB / 437.5 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/0.009804, allocations: 258.2 kB / 437.7 MB, free: 6.051 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.01025, allocations: 354.9 kB / 438.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.01056, allocations: 251.3 kB / 438.3 MB, free: 5.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.0106, allocations: 32 kB / 438.3 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.01088, allocations: 131.8 kB / 438.5 MB, free: 5.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.01104, allocations: 211.3 kB / 438.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.01117, allocations: 151.6 kB / 438.8 MB, free: 4.941 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.01163, allocations: 0.5296 MB / 439.4 MB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01163, allocations: 0 / 439.4 MB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01163, allocations: 0 / 439.4 MB, free: 4.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.01164, allocations: 4 kB / 439.4 MB, free: 4.406 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008205/0.01246, allocations: 0.6427 MB / 440 MB, free: 3.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.0125, allocations: 15.98 kB / 440 MB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.01257, allocations: 78.72 kB / 440.1 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/0.01302, allocations: 88.55 kB / 440.2 MB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.01352, allocations: 348 kB / 440.5 MB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.01354, allocations: 29.36 kB / 440.5 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-05/0.01364, allocations: 48.69 kB / 440.6 MB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.0141, allocations: 484.7 kB / 441.1 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.01412, allocations: 0 / 441.1 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.01414, allocations: 15.98 kB / 441.1 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.01421, allocations: 28.98 kB / 441.1 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.01457, allocations: 347.7 kB / 441.5 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.01617, allocations: 1.475 MB / 442.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.01643, allocations: 161.1 kB / 443.1 MB, free: 496 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.01655, allocations: 112.6 kB / 443.2 MB, free: 380 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.01657, allocations: 4 kB / 443.2 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.0166, allocations: 34.56 kB / 443.2 MB, free: 332 kB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.003e-06/0.0166, allocations: 0 / 443.2 MB, free: 332 kB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.1764/0.193, allocations: 0.7136 MB / 443.9 MB, free: 54.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.193, allocations: 83.52 kB / 444 MB, free: 54.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1932, allocations: 310.1 kB / 444.3 MB, free: 54.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1932, allocations: 32.95 kB / 444.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.1933, allocations: 255.3 kB / 444.6 MB, free: 54.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1934, allocations: 79.48 kB / 444.7 MB, free: 54.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.1934, allocations: 57.77 kB / 444.7 MB, free: 54.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.1935, allocations: 345.5 kB / 445.1 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/0.1936, allocations: 92.2 kB / 445.2 MB, free: 53.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1937, allocations: 204.1 kB / 445.4 MB, free: 53.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.1939, allocations: 332.5 kB / 445.7 MB, free: 53.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1939, allocations: 3.562 kB / 445.7 MB, free: 53.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004946/0.1944, allocations: 425.3 kB / 446.1 MB, free: 53.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1944, allocations: 6 kB / 446.1 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002767/0.1947, allocations: 260.4 kB / 446.4 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.1949, allocations: 78.98 kB / 446.5 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.1951, allocations: 70.16 kB / 446.5 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009293/0.196, allocations: 1.604 MB / 448.1 MB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1962, allocations: 17.73 kB / 448.1 MB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1962, allocations: 9.781 kB / 448.2 MB, free: 51.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.1963, allocations: 190.9 kB / 448.3 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.1964, allocations: 33.53 kB / 448.4 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1966, allocations: 271.6 kB / 448.6 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1966, allocations: 3.281 kB / 448.6 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1966, allocations: 0 / 448.6 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1966, allocations: 3.125 kB / 448.6 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.1973, allocations: 0.6967 MB / 449.3 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1973, allocations: 3.516 kB / 449.3 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1974, allocations: 49.59 kB / 449.4 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1974, allocations: 5.344 kB / 449.4 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1974, allocations: 7.188 kB / 449.4 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1974, allocations: 7.062 kB / 449.4 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1974, allocations: 3.938 kB / 449.4 MB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1977, allocations: 445.2 kB / 449.9 MB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.1978, allocations: 39.2 kB / 449.9 MB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1978, allocations: 11.16 kB / 449.9 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1979, allocations: 10.48 kB / 449.9 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.1979, allocations: 15.88 kB / 449.9 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1979, allocations: 10.28 kB / 449.9 MB, free: 50.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.198, allocations: 215.5 kB / 450.1 MB, free: 50.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.198, allocations: 7.281 kB / 450.2 MB, free: 50.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.1983, allocations: 81.66 kB / 450.2 MB, free: 50.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005582/0.1989, allocations: 0.9914 MB / 451.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.1994, allocations: 359.8 kB / 451.6 MB, free: 49.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1994, allocations: 4 kB / 451.6 MB, free: 49.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1995, allocations: 92.06 kB / 451.7 MB, free: 49.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2, allocations: 76.42 kB / 451.7 MB, free: 49.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2025, allocations: 3.477 MB / 455.2 MB, free: 47.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2026, allocations: 247.7 kB / 455.5 MB, free: 47.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.2027, allocations: 68.2 kB / 455.5 MB, free: 47.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.2028, allocations: 135 kB / 455.7 MB, free: 47.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2028, allocations: 0 / 455.7 MB, free: 47.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.2312, allocations: 8.1 MB / 463.8 MB, free: 45.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.095, allocations: 3.938 kB / 463.8 MB, free: 45.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.139806986786425] Failed to read output from testmodel.py, exit status != 0: 7.17807992734015 7.18599081 7.172846299 Calling exit ...