Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.0009623/0.0009623, 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.001044/0.001044, allocations: 170.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.9176/0.9176, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2345/0.2345, allocations: 29.4 MB / 290.1 MB, free: 2.457 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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.436e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004829/0.004854, allocations: 3.412 MB / 433.6 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.006638, allocations: 1.383 MB / 435 MB, free: 8.801 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.006797, allocations: 11.94 kB / 435 MB, free: 8.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.007467, allocations: 247 kB / 435.2 MB, free: 8.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.008088, allocations: 282.5 kB / 435.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.008344, allocations: 111.5 kB / 435.6 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.008662, allocations: 346.9 kB / 436 MB, free: 7.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.00891, allocations: 118 kB / 436.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.009262, allocations: 195.4 kB / 436.3 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.00948, allocations: 155.5 kB / 436.4 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.009509, allocations: 12 kB / 436.4 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.009879, allocations: 275 kB / 436.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.009979, allocations: 103.7 kB / 436.8 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.01005, allocations: 71.78 kB / 436.9 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.01043, allocations: 363 kB / 437.2 MB, free: 6.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.01044, allocations: 3.984 kB / 437.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.01044, allocations: 0 / 437.2 MB, free: 6.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.01045, allocations: 0 / 437.2 MB, free: 6.551 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005729/0.01102, allocations: 453 kB / 437.7 MB, free: 6.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.01106, allocations: 15.97 kB / 437.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.01111, allocations: 54.73 kB / 437.8 MB, free: 6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004989/0.01161, allocations: 92.69 kB / 437.8 MB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.01199, allocations: 198 kB / 438 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.01201, allocations: 24.3 kB / 438.1 MB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.01204, allocations: 16.38 kB / 438.1 MB, free: 5.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.01243, allocations: 311.1 kB / 438.4 MB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.01245, allocations: 4 kB / 438.4 MB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.01248, allocations: 7.984 kB / 438.4 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.01251, allocations: 23.92 kB / 438.4 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.01293, allocations: 283.8 kB / 438.7 MB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.01445, allocations: 1.216 MB / 439.9 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.01493, allocations: 205.1 kB / 440.1 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.01501, allocations: 57.75 kB / 440.2 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.01503, allocations: 0 / 440.2 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.01506, allocations: 34.56 kB / 440.2 MB, free: 3.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.01506, allocations: 3.938 kB / 440.2 MB, free: 3.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008409/0.0159, allocations: 346.2 kB / 440.5 MB, free: 3.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.01595, allocations: 89.14 kB / 440.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01612, allocations: 194.2 kB / 440.8 MB, free: 2.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.01614, allocations: 29.92 kB / 440.8 MB, free: 2.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.01623, allocations: 168 kB / 441 MB, free: 2.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.01627, allocations: 59.5 kB / 441.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.01633, allocations: 41.7 kB / 441.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01643, allocations: 326.8 kB / 441.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.01678, allocations: 51.97 kB / 441.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.01691, allocations: 148.8 kB / 441.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01715, allocations: 240.8 kB / 441.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01715, allocations: 0 / 441.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003992/0.01755, allocations: 261.9 kB / 442.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01756, allocations: 8.375 kB / 442.1 MB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01757, allocations: 4 kB / 442.1 MB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.01774, allocations: 40.83 kB / 442.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01787, allocations: 51.91 kB / 442.2 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1726/0.1905, allocations: 1.319 MB / 443.5 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1906, allocations: 12.91 kB / 443.5 MB, free: 53.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1907, allocations: 16.16 kB / 443.6 MB, free: 53.35 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1908, allocations: 154.3 kB / 443.7 MB, free: 53.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1908, allocations: 18.19 kB / 443.7 MB, free: 53.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1911, allocations: 196.4 kB / 443.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1911, allocations: 3 kB / 443.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1911, allocations: 0 / 443.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1911, allocations: 3.125 kB / 443.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1916, allocations: 0.5236 MB / 444.5 MB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1916, allocations: 0.5 kB / 444.5 MB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.1916, allocations: 22.53 kB / 444.5 MB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.993e-05/0.1917, allocations: 33.72 kB / 444.5 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1917, allocations: 3 kB / 444.5 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004241/0.1921, allocations: 1.317 MB / 445.8 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1921, allocations: 3.125 kB / 445.8 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.1923, allocations: 288.7 kB / 446.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.1923, allocations: 20.55 kB / 446.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1923, allocations: 6.875 kB / 446.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.1924, allocations: 12.44 kB / 446.2 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.1924, allocations: 17.08 kB / 446.2 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.1924, allocations: 6.328 kB / 446.2 MB, free: 51.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.1925, allocations: 138.7 kB / 446.3 MB, free: 51.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1925, allocations: 0 / 446.3 MB, free: 51.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.1927, allocations: 53.62 kB / 446.4 MB, free: 51.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.0003113/0.193, allocations: 0.8278 MB / 447.2 MB, free: 50.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1934, allocations: 261.2 kB / 447.4 MB, free: 50.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1934, allocations: 3.219 kB / 447.5 MB, free: 50.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.376e-05/0.1934, allocations: 170 kB / 447.6 MB, free: 50.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1937, allocations: 40.53 kB / 447.7 MB, free: 50.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1951, allocations: 2.357 MB / 450 MB, free: 48.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.1952, allocations: 151.7 kB / 450.2 MB, free: 48.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.147e-05/0.1953, allocations: 39.31 kB / 450.2 MB, free: 48.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.1953, allocations: 60.94 kB / 450.3 MB, free: 48.53 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1953, allocations: 0 / 450.3 MB, free: 48.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2132, allocations: 4.602 MB / 454.9 MB, free: 47.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.17, allocations: 15.2 kB / 454.9 MB, free: 47.44 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_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_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.182332349941134] Failed to read output from testmodel.py, exit status != 0: 7.2589142275974154 7.268892152 7.256698378 Calling exit ...