Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.000768/0.000768, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008582/0.0008582, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8827/0.8827, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2141/0.2141, allocations: 29.41 MB / 290.1 MB, free: 2.422 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.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Machines,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.903e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.00626/0.006279, allocations: 5.195 MB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.01113, allocations: 3.821 MB / 439.2 MB, free: 4.527 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.01152, allocations: 23.81 kB / 439.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.178/0.1895, allocations: 5.411 MB / 444.7 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008425/0.1903, allocations: 355.2 kB / 445 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.1909, allocations: 257.3 kB / 445.3 MB, free: 46.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.1925, allocations: 1.673 MB / 446.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.1929, allocations: 322 kB / 447.2 MB, free: 45.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.1934, allocations: 0.497 MB / 447.7 MB, free: 45.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.1938, allocations: 421.8 kB / 448.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.1939, allocations: 47.38 kB / 448.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.1941, allocations: 121.5 kB / 448.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.1942, allocations: 299.3 kB / 448.6 MB, free: 45.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1944, allocations: 230 kB / 448.8 MB, free: 45.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.1949, allocations: 0.7485 MB / 449.6 MB, free: 45.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1949, allocations: 0 / 449.6 MB, free: 45.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1949, allocations: 0 / 449.6 MB, free: 45.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1949, allocations: 0 / 449.6 MB, free: 45.65 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001017/0.196, allocations: 0.8489 MB / 450.4 MB, free: 45.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.196, allocations: 15.08 kB / 450.4 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.1961, allocations: 85.8 kB / 450.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002906/0.1964, allocations: 98.75 kB / 450.6 MB, free: 45.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.197, allocations: 0.4917 MB / 451.1 MB, free: 44.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.197, allocations: 34.94 kB / 451.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.197, allocations: 52 kB / 451.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.1976, allocations: 0.651 MB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1976, allocations: 0 / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.1977, allocations: 19.58 kB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.752e-05/0.1977, allocations: 54.8 kB / 451.9 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.1982, allocations: 489.8 kB / 452.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2, allocations: 2.341 MB / 454.7 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.2003, allocations: 305.6 kB / 455 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.2004, allocations: 161.4 kB / 455.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.2004, allocations: 6.531 kB / 455.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2005, allocations: 41.05 kB / 455.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.2005, allocations: 4 kB / 455.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001459/0.2019, allocations: 1.277 MB / 456.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2019, allocations: 110.2 kB / 456.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.2022, allocations: 430.3 kB / 457.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2022, allocations: 32.83 kB / 457.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2023, allocations: 308.3 kB / 457.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.2024, allocations: 128.5 kB / 457.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.2025, allocations: 88.89 kB / 457.6 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.2025, allocations: 361 kB / 458 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.2027, allocations: 163.2 kB / 458.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.2029, allocations: 296.7 kB / 458.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.2032, allocations: 498.5 kB / 458.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2032, allocations: 0 / 458.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007221/0.204, allocations: 0.7174 MB / 459.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.204, allocations: 7.5 kB / 459.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.204, allocations: 6.531 kB / 459.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.2043, allocations: 207.9 kB / 459.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.2045, allocations: 77.23 kB / 459.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.2069, allocations: 3.988 MB / 463.9 MB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2071, allocations: 24.94 kB / 463.9 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.2071, allocations: 15.12 kB / 463.9 MB, free: 37.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * 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: 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.2073, allocations: 235.9 kB / 464.2 MB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.2074, allocations: 47.78 kB / 464.2 MB, free: 37.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.2079, allocations: 489.2 kB / 464.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2079, allocations: 2.969 kB / 464.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2079, allocations: 7 kB / 464.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2079, allocations: 3.938 kB / 464.7 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008976/0.2088, allocations: 0.9789 MB / 465.7 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2088, allocations: 0 / 465.7 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.209, allocations: 77.28 kB / 465.8 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.96e-05/0.2091, allocations: 54.28 kB / 465.8 MB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2091, allocations: 16.08 kB / 465.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000854/0.21, allocations: 2.615 MB / 468.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.21, allocations: 6.969 kB / 468.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.2106, allocations: 0.8058 MB / 469.2 MB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.2106, allocations: 68.12 kB / 469.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.2107, allocations: 16.45 kB / 469.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2108, allocations: 15.16 kB / 469.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.2108, allocations: 30.55 kB / 469.4 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2109, allocations: 10.16 kB / 469.4 MB, free: 33.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.2111, allocations: 294 kB / 469.7 MB, free: 33.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2111, allocations: 0 / 469.7 MB, free: 33.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000412/0.2115, allocations: 135.4 kB / 469.8 MB, free: 33.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007318/0.2122, allocations: 1.363 MB / 471.2 MB, free: 32.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.213, allocations: 0.7166 MB / 471.9 MB, free: 31.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.213, allocations: 0 / 471.9 MB, free: 31.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.2133, allocations: 410.9 kB / 472.3 MB, free: 31.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.2138, allocations: 123.3 kB / 472.4 MB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.218, allocations: 5.225 MB / 477.6 MB, free: 28.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.2183, allocations: 337.1 kB / 478 MB, free: 28.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.2185, allocations: 108.3 kB / 478.1 MB, free: 28.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.2186, allocations: 197.1 kB / 478.3 MB, free: 28.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2186, allocations: 0 / 478.3 MB, free: 28.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/0.2564, allocations: 13.05 MB / 491.3 MB, free: 26.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.584, allocations: 4.094 kB / 491.3 MB, free: 26.41 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Machines.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.547232774086297] Failed to read output from testmodel.py, exit status != 0: 8.679459470324218 8.691680273 8.493894773 Calling exit ...