Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.0009369/0.0009369, 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.001142/0.001142, 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.9378/0.9378, 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.2212/0.2212, 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.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.144e-05, allocations: 6.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.006384/0.006405, allocations: 8.275 MB / 438.5 MB, free: 5.273 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.009888, allocations: 2.885 MB / 441.4 MB, free: 2.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.01028, allocations: 47.62 kB / 441.4 MB, free: 2.332 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.01167, allocations: 1.052 MB / 442.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009804/0.01265, allocations: 0.6485 MB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1847/0.1973, allocations: 0.7596 MB / 443.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.1992, allocations: 1.663 MB / 445.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006687/0.1998, allocations: 0.6839 MB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009317/0.2008, allocations: 0.9836 MB / 447.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007058/0.2015, allocations: 0.8942 MB / 448.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.2016, allocations: 104 kB / 448.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007135/0.2023, allocations: 496.6 kB / 448.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.2026, allocations: 0.7005 MB / 449.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.203, allocations: 0.4969 MB / 449.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2043, allocations: 1.851 MB / 451.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2043, allocations: 0 / 451.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2043, allocations: 0 / 451.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2043, allocations: 2.188 kB / 451.8 MB, free: 42.78 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.00165/0.2059, allocations: 1.602 MB / 453.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.206, allocations: 14.67 kB / 453.4 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.2061, allocations: 194.2 kB / 453.6 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.2072, allocations: 397.7 kB / 453.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.2081, allocations: 0.8171 MB / 454.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.2081, allocations: 87.88 kB / 454.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.2084, allocations: 155.1 kB / 455 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2098, allocations: 1.851 MB / 456.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.2099, allocations: 10.41 kB / 456.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.654e-05/0.2099, allocations: 49.12 kB / 456.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.2101, allocations: 97.86 kB / 457 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.2114, allocations: 1.485 MB / 458.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004656/0.2161, allocations: 7.908 MB / 466.4 MB, free: 34.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.2168, allocations: 0.654 MB / 467.1 MB, free: 34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.2172, allocations: 450.1 kB / 467.5 MB, free: 33.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.2172, allocations: 16.94 kB / 467.5 MB, free: 33.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2173, allocations: 46.06 kB / 467.6 MB, free: 33.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.807e-06/0.2173, allocations: 0 / 467.6 MB, free: 33.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.003635/0.2209, allocations: 2.382 MB / 469.9 MB, free: 32.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2209, allocations: 87.42 kB / 470 MB, free: 32.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.2218, allocations: 0.8562 MB / 470.9 MB, free: 32.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.2219, allocations: 36.95 kB / 470.9 MB, free: 32.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.2221, allocations: 0.7001 MB / 471.6 MB, free: 31.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.2222, allocations: 317.8 kB / 471.9 MB, free: 31.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.2224, allocations: 250.6 kB / 472.2 MB, free: 31.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.2225, allocations: 423.4 kB / 472.6 MB, free: 30.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.2229, allocations: 452.1 kB / 473 MB, free: 30.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.2235, allocations: 1.003 MB / 474 MB, free: 29.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.2246, allocations: 1.592 MB / 475.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.2246, allocations: 3.062 kB / 475.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001817/0.2264, allocations: 1.765 MB / 477.4 MB, free: 28.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2264, allocations: 18.41 kB / 477.4 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009562/0.2274, allocations: 0.9809 MB / 478.4 MB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.2279, allocations: 245.6 kB / 478.6 MB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.2284, allocations: 307.4 kB / 478.9 MB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.231, allocations: 4.847 MB / 483.8 MB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.2318, allocations: 50.25 kB / 483.8 MB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.2319, allocations: 71.48 kB / 483.9 MB, free: 23.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006752/0.2326, allocations: 435.2 kB / 484.3 MB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.2327, allocations: 99.91 kB / 484.4 MB, free: 23.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.2338, allocations: 0.9591 MB / 485.4 MB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2338, allocations: 13.31 kB / 485.4 MB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2338, allocations: 3.125 kB / 485.4 MB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2338, allocations: 4.75 kB / 485.4 MB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.2364, allocations: 2.02 MB / 487.4 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2364, allocations: 2.469 kB / 487.4 MB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.2369, allocations: 185.9 kB / 487.6 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.2369, allocations: 5.75 kB / 487.6 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.2369, allocations: 24.05 kB / 487.6 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2369, allocations: 11.5 kB / 487.6 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2369, allocations: 2.125 kB / 487.6 MB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2382, allocations: 1.404 MB / 489 MB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.2384, allocations: 89.94 kB / 489.1 MB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.2384, allocations: 27.3 kB / 489.2 MB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.2386, allocations: 24.86 kB / 489.2 MB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.2387, allocations: 53.97 kB / 489.2 MB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.2387, allocations: 28.97 kB / 489.3 MB, free: 21.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004774/0.2392, allocations: 0.5393 MB / 489.8 MB, free: 21.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2392, allocations: 0 / 489.8 MB, free: 21.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001068/0.2403, allocations: 299.5 kB / 490.1 MB, free: 21.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.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 (86): * Single equations (assignments): 85 * 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.001576/0.2419, allocations: 1.963 MB / 492.1 MB, free: 19.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.2435, allocations: 1.411 MB / 493.5 MB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2435, allocations: 0 / 493.5 MB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.2439, allocations: 384.8 kB / 493.8 MB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.2446, allocations: 185.3 kB / 494 MB, free: 19.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009871/0.2545, allocations: 10.13 MB / 0.4923 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.2551, allocations: 0.6523 MB / 0.493 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008422/0.256, allocations: 424.5 kB / 0.4934 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.2564, allocations: 471.6 kB / 0.4938 GB, free: 13.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2564, allocations: 0 / 0.4938 GB, free: 13.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.2965, allocations: 22.14 MB / 0.5154 GB, free: 14.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.568, allocations: 10.81 kB / 0.5155 GB, free: 14.05 MB / 426.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.18 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.572538644075394] Failed to read output from testmodel.py, exit status != 0: 7.663029859773815 7.676615951 7.470063859 Calling exit ...