Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.0008172/0.0008172, 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.001251/0.001251, 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.8926/0.8926, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2211/0.2211, allocations: 29.41 MB / 290.1 MB, free: 2.461 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.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.365e-05, allocations: 4.109 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.003733/0.003747, allocations: 4.44 MB / 434.7 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.005587, allocations: 1.491 MB / 436.1 MB, free: 7.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.005771, allocations: 19.81 kB / 436.2 MB, free: 7.617 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.006317, allocations: 286.5 kB / 436.4 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.006744, allocations: 294.3 kB / 436.7 MB, free: 7.047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.007256, allocations: 263.2 kB / 437 MB, free: 6.789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.007762, allocations: 0.6233 MB / 437.6 MB, free: 6.164 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.00806, allocations: 216.5 kB / 437.8 MB, free: 5.945 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.008461, allocations: 374.9 kB / 438.2 MB, free: 5.578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.008783, allocations: 303.2 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.008824, allocations: 39.94 kB / 438.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.00905, allocations: 151.7 kB / 438.7 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.00921, allocations: 235.4 kB / 438.9 MB, free: 4.863 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.009332, allocations: 163.6 kB / 439.1 MB, free: 4.703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.009828, allocations: 0.6192 MB / 439.7 MB, free: 4.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.00983, allocations: 0 / 439.7 MB, free: 4.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009831, allocations: 0 / 439.7 MB, free: 4.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.009838, allocations: 3.938 kB / 439.7 MB, free: 4.078 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009083/0.01075, allocations: 0.7094 MB / 440.4 MB, free: 3.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.01078, allocations: 11.98 kB / 440.4 MB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/0.01085, allocations: 86.7 kB / 440.5 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.01127, allocations: 128.5 kB / 440.6 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.01173, allocations: 355.9 kB / 441 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.01175, allocations: 29.38 kB / 441 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.01184, allocations: 52.67 kB / 441 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.01245, allocations: 0.6638 MB / 441.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.01247, allocations: 8 kB / 441.7 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.01249, allocations: 12 kB / 441.7 MB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.449e-05/0.01258, allocations: 52.91 kB / 441.8 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.01315, allocations: 495.5 kB / 442.3 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1679/0.181, allocations: 2.967 MB / 445.2 MB, free: 52.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.1814, allocations: 239.1 kB / 445.5 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1815, allocations: 110.1 kB / 445.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1816, allocations: 3.062 kB / 445.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1816, allocations: 41.5 kB / 445.6 MB, free: 52.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.315e-06/0.1816, allocations: 0 / 445.6 MB, free: 52.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.00109/0.1827, allocations: 0.8282 MB / 446.4 MB, free: 52.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1827, allocations: 83.86 kB / 446.5 MB, free: 51.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.183, allocations: 343.6 kB / 446.9 MB, free: 51.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.183, allocations: 29.7 kB / 446.9 MB, free: 51.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.1831, allocations: 295.6 kB / 447.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1831, allocations: 91.38 kB / 447.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.1832, allocations: 84.78 kB / 447.3 MB, free: 51.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.1832, allocations: 351 kB / 447.7 MB, free: 51.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1833, allocations: 135.2 kB / 447.8 MB, free: 51.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1835, allocations: 322.4 kB / 448.1 MB, free: 50.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.1838, allocations: 0.4916 MB / 448.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1838, allocations: 3.406 kB / 448.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006418/0.1845, allocations: 0.5899 MB / 449.2 MB, free: 50.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1845, allocations: 16.52 kB / 449.2 MB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003433/0.1849, allocations: 326.3 kB / 449.6 MB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.1851, allocations: 117.9 kB / 449.7 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1853, allocations: 95.95 kB / 449.8 MB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.1867, allocations: 3.05 MB / 452.8 MB, free: 47.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1869, allocations: 21.08 kB / 452.8 MB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1869, allocations: 23.44 kB / 452.9 MB, free: 47.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.1871, allocations: 209.1 kB / 453.1 MB, free: 47.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.1871, allocations: 36.64 kB / 453.1 MB, free: 47.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.1874, allocations: 321.2 kB / 453.4 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1874, allocations: 4.266 kB / 453.4 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1874, allocations: 0 / 453.4 MB, free: 46.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1874, allocations: 8.094 kB / 453.4 MB, free: 46.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.1881, allocations: 0.7517 MB / 454.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1881, allocations: 1.062 kB / 454.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1882, allocations: 59.28 kB / 454.2 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1882, allocations: 5.438 kB / 454.2 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1882, allocations: 13.64 kB / 454.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1882, allocations: 2.938 kB / 454.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1882, allocations: 0 / 454.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.1886, allocations: 0.508 MB / 454.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.1886, allocations: 54.08 kB / 454.8 MB, free: 46.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1887, allocations: 18.03 kB / 454.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.1887, allocations: 7.703 kB / 454.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1888, allocations: 17.67 kB / 454.9 MB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.1888, allocations: 6.156 kB / 454.9 MB, free: 46.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.1889, allocations: 228.2 kB / 455.1 MB, free: 46.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1889, allocations: 0 / 455.1 MB, free: 46.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.1892, allocations: 94.72 kB / 455.2 MB, free: 46.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0004645/0.1897, allocations: 1.052 MB / 456.2 MB, free: 45.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.1902, allocations: 0.5637 MB / 456.8 MB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1902, allocations: 0 / 456.8 MB, free: 44.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1903, allocations: 122.3 kB / 456.9 MB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1906, allocations: 70.8 kB / 457 MB, free: 44.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.1934, allocations: 3.974 MB / 461 MB, free: 42.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.1936, allocations: 264.6 kB / 461.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.1937, allocations: 118.4 kB / 461.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1939, allocations: 144.8 kB / 461.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1939, allocations: 0 / 461.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.2248, allocations: 8.526 MB / 470 MB, free: 40.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.576, allocations: 12.58 kB / 470 MB, free: 40.57 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.516892625950277] Failed to read output from testmodel.py, exit status != 0: 7.662405788898468 7.674936353 7.662439791 Calling exit ...