Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.0008556/0.0008556, 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.0008613/0.0008613, allocations: 174.3 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.8927/0.8927, allocations: 177.1 MB / 204.2 MB, free: 5.734 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.2283/0.2283, allocations: 29.41 MB / 290.1 MB, free: 2.445 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.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.547e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004742/0.004767, allocations: 4.993 MB / 435.2 MB, free: 8.586 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.007001, allocations: 1.686 MB / 436.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.007283, allocations: 23.81 kB / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.008044, allocations: 425.9 kB / 437.3 MB, free: 6.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005195/0.008563, allocations: 310.1 kB / 437.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.009328, allocations: 398.8 kB / 438 MB, free: 5.758 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.009955, allocations: 0.7518 MB / 438.8 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.01036, allocations: 302.4 kB / 439.1 MB, free: 4.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.01082, allocations: 454.6 kB / 439.5 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.01127, allocations: 431 kB / 439.9 MB, free: 3.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.01133, allocations: 55.98 kB / 440 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.01161, allocations: 179.7 kB / 440.2 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.0118, allocations: 307.2 kB / 440.5 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.01197, allocations: 239.5 kB / 440.7 MB, free: 3.062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.01262, allocations: 0.8374 MB / 441.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01262, allocations: 3.938 kB / 441.5 MB, free: 2.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01262, allocations: 0 / 441.5 MB, free: 2.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.01263, allocations: 0 / 441.5 MB, free: 2.219 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001115/0.01374, allocations: 0.8493 MB / 442.4 MB, free: 1.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.01378, allocations: 15.98 kB / 442.4 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8e-05/0.01386, allocations: 94.7 kB / 442.5 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.01448, allocations: 172.4 kB / 442.7 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.01524, allocations: 484.5 kB / 443.1 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.01526, allocations: 29.38 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.0155, allocations: 144.2 kB / 443.3 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1697/0.1852, allocations: 0.8477 MB / 444.2 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.1852, allocations: 5.719 kB / 444.2 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.1853, allocations: 22.81 kB / 444.2 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.1855, allocations: 76.42 kB / 444.3 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.1862, allocations: 0.6163 MB / 444.9 MB, free: 54.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.1886, allocations: 3.58 MB / 448.4 MB, free: 51.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.1892, allocations: 0.5263 MB / 449 MB, free: 51.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.1895, allocations: 314.8 kB / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1895, allocations: 6.625 kB / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.1895, allocations: 38.09 kB / 449.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 1.994e-06/0.1896, allocations: 0 / 449.3 MB, free: 51.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001831/0.1914, allocations: 1.783 MB / 451.1 MB, free: 50.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1914, allocations: 80.61 kB / 451.2 MB, free: 50.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1917, allocations: 433.7 kB / 451.6 MB, free: 50.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1917, allocations: 33.08 kB / 451.6 MB, free: 50.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1919, allocations: 336.6 kB / 452 MB, free: 49.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.1919, allocations: 210.5 kB / 452.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.1921, allocations: 149.4 kB / 452.3 MB, free: 49.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.1921, allocations: 367.8 kB / 452.7 MB, free: 49.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.1924, allocations: 378.7 kB / 453.1 MB, free: 49.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.1928, allocations: 0.5973 MB / 453.7 MB, free: 48.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.1935, allocations: 1.068 MB / 454.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1935, allocations: 3.375 kB / 454.7 MB, free: 48.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002255/0.1958, allocations: 1.986 MB / 456.7 MB, free: 47.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1958, allocations: 7.531 kB / 456.7 MB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1958, allocations: 8.844 kB / 456.7 MB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.197, allocations: 0.9448 MB / 457.7 MB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1973, allocations: 112 kB / 457.8 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.2028, allocations: 7.933 MB / 465.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.203, allocations: 34.44 kB / 465.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.203, allocations: 42.78 kB / 465.8 MB, free: 43.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.2032, allocations: 246.5 kB / 466 MB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2033, allocations: 52.95 kB / 466.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006618/0.2039, allocations: 0.7291 MB / 466.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2039, allocations: 3.188 kB / 466.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.204, allocations: 4.656 kB / 466.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.204, allocations: 7.422 kB / 466.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.2053, allocations: 1.424 MB / 468.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2053, allocations: 7.609 kB / 468.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.2058, allocations: 182.7 kB / 468.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2058, allocations: 3.25 kB / 468.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.2058, allocations: 31.03 kB / 468.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2058, allocations: 3.156 kB / 468.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2058, allocations: 3.125 kB / 468.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.2066, allocations: 0.9984 MB / 469.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.2067, allocations: 47.98 kB / 469.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.2067, allocations: 28.94 kB / 469.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2069, allocations: 29.64 kB / 469.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.207, allocations: 35.05 kB / 469.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.207, allocations: 17.52 kB / 469.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.2072, allocations: 284.1 kB / 469.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2072, allocations: 5.094 kB / 469.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005108/0.2077, allocations: 209.4 kB / 470.1 MB, free: 41.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * 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.0009366/0.2086, allocations: 1.562 MB / 471.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.21, allocations: 1.407 MB / 473.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.21, allocations: 0 / 473.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.2102, allocations: 300 kB / 473.4 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.2107, allocations: 133 kB / 473.5 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0088/0.2195, allocations: 9.262 MB / 482.8 MB, free: 35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.2198, allocations: 394.2 kB / 483.2 MB, free: 34.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.2202, allocations: 206 kB / 483.4 MB, free: 34.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.2204, allocations: 231.4 kB / 483.6 MB, free: 34.67 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2204, allocations: 0 / 483.6 MB, free: 34.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.2514, allocations: 18.86 MB / 0.4907 GB, free: 30.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.708, allocations: 2.656 kB / 0.4907 GB, free: 30.23 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line_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_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.529872715473175] Failed to read output from testmodel.py, exit status != 0: 7.79925237968564 7.80559031 7.791614475 Calling exit ...