Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001341/0.001341, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 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.00148/0.00148, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.1877/0.1877, allocations: 38.51 MB / 348.7 MB, free: 2.578 MB / 270.1 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.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 63.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 62.42 MB / 0.5367 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.007926/0.1749, allocations: 4 MB / 0.5406 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.178, allocations: 1.869 MB / 0.5424 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1782, allocations: 11.94 kB / 0.5424 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.1792, allocations: 370.6 kB / 0.5428 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008347/0.1801, allocations: 410.5 kB / 0.5431 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1804, allocations: 139.6 kB / 0.5433 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005979/0.181, allocations: 498.5 kB / 0.5438 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.1814, allocations: 167 kB / 0.5439 GB, free: 84 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.1818, allocations: 227.1 kB / 0.5441 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.1821, allocations: 255.1 kB / 0.5444 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.1821, allocations: 20 kB / 0.5444 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.1828, allocations: 462.8 kB / 0.5448 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.183, allocations: 151.6 kB / 0.545 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1832, allocations: 155.3 kB / 0.5451 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.1839, allocations: 0.4944 MB / 0.5456 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1839, allocations: 0 / 0.5456 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1839, allocations: 0 / 0.5456 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1839, allocations: 4 kB / 0.5456 GB, free: 14.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009143/0.1848, allocations: 0.6074 MB / 0.5462 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1848, allocations: 8.031 kB / 0.5462 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.1849, allocations: 66.72 kB / 0.5463 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.1862, allocations: 132.6 kB / 0.5464 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.1867, allocations: 303.8 kB / 0.5467 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.1867, allocations: 20.94 kB / 0.5467 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.1868, allocations: 24.38 kB / 0.5467 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.1876, allocations: 439.8 kB / 0.5472 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.1876, allocations: 7.938 kB / 0.5472 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.1876, allocations: 12 kB / 0.5472 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/0.1877, allocations: 24.55 kB / 0.5472 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006953/0.1884, allocations: 425.9 kB / 0.5476 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.1908, allocations: 1.714 MB / 0.5493 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.1912, allocations: 274.1 kB / 0.5495 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.1915, allocations: 125.7 kB / 0.5497 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.1915, allocations: 0 / 0.5497 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1915, allocations: 38.94 kB / 0.5497 GB, free: 9.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.1915, allocations: 0 / 0.5497 GB, free: 9.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.00192/0.1934, allocations: 0.7898 MB / 0.5505 GB, free: 9.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.1935, allocations: 89.22 kB / 0.5506 GB, free: 8.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.1937, allocations: 214.7 kB / 0.5508 GB, free: 8.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1938, allocations: 29.7 kB / 0.5508 GB, free: 8.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1939, allocations: 188.4 kB / 0.551 GB, free: 8.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.194, allocations: 87.25 kB / 0.5511 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.1941, allocations: 53.98 kB / 0.5511 GB, free: 8.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1942, allocations: 330.8 kB / 0.5514 GB, free: 8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1944, allocations: 112.4 kB / 0.5515 GB, free: 7.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.1946, allocations: 205 kB / 0.5517 GB, free: 7.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.1951, allocations: 342.9 kB / 0.552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1951, allocations: 0 / 0.552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007803/0.1959, allocations: 441.8 kB / 0.5525 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1959, allocations: 4 kB / 0.5525 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.1959, allocations: 4 kB / 0.5525 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.1963, allocations: 85.16 kB / 0.5526 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1966, allocations: 63.91 kB / 0.5526 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.1988, allocations: 1.986 MB / 0.5546 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.199, allocations: 15.98 kB / 0.5546 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.199, allocations: 15.98 kB / 0.5546 GB, free: 4.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.1992, allocations: 186.3 kB / 0.5548 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.1993, allocations: 23.86 kB / 0.5548 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007803/0.2001, allocations: 387.9 kB / 0.5552 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2001, allocations: 0 / 0.5552 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2001, allocations: 4 kB / 0.5552 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2001, allocations: 0 / 0.5552 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.2016, allocations: 0.9104 MB / 0.5561 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2016, allocations: 7.938 kB / 0.5561 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.2018, allocations: 35.92 kB / 0.5561 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.202, allocations: 72.86 kB / 0.5562 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2021, allocations: 7.984 kB / 0.5562 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2041, allocations: 1.904 MB / 0.558 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2041, allocations: 4.031 kB / 0.558 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007586/0.2049, allocations: 463.2 kB / 0.5585 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.205, allocations: 96.97 kB / 0.5586 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.2051, allocations: 8 kB / 0.5586 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.2052, allocations: 11.98 kB / 0.5586 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.2053, allocations: 27.72 kB / 0.5586 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.2053, allocations: 12.11 kB / 0.5586 GB, free: 96 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2055, allocations: 144.6 kB / 0.5588 GB, free: 15.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2055, allocations: 0 / 0.5588 GB, free: 15.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005394/0.206, allocations: 88 kB / 0.5588 GB, free: 15.87 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.2071, allocations: 0.9957 MB / 0.5598 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008661/0.208, allocations: 413.1 kB / 0.5602 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.208, allocations: 0 / 0.5602 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.2085, allocations: 275.3 kB / 0.5605 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2089, allocations: 50.44 kB / 0.5605 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.2132, allocations: 3.017 MB / 0.5635 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.2137, allocations: 0.8062 MB / 0.5643 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.2138, allocations: 57.94 kB / 0.5643 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.214, allocations: 83.41 kB / 0.5644 GB, free: 9.922 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.214, allocations: 0 / 0.5644 GB, free: 9.922 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.2468, allocations: 5.797 MB / 0.5701 GB, free: 4.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.63, allocations: 6.531 kB / 0.5701 GB, free: 4.23 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.576805363991298] Failed to read output from testmodel.py, exit status != 0: 10.718366121000145 10.745097688 10.556466638 Calling exit ...