Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.00108/0.00108, 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.00106/0.00106, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8839/0.8839, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2162/0.2162, allocations: 29.41 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.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.724e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005671/0.005689, allocations: 6.274 MB / 436.5 MB, free: 7.301 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.008357, allocations: 1.931 MB / 438.4 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.008673, allocations: 27.75 kB / 438.4 MB, free: 5.336 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.009729, allocations: 0.7102 MB / 439.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009323/0.01066, allocations: 0.5944 MB / 439.7 MB, free: 4.027 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.01114, allocations: 267.2 kB / 440 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008285/0.01197, allocations: 1.164 MB / 441.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.01253, allocations: 477.5 kB / 441.6 MB, free: 2.121 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.01312, allocations: 0.701 MB / 442.3 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005139/0.01363, allocations: 0.5805 MB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.01371, allocations: 68 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.01404, allocations: 291.5 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1522/0.1663, allocations: 0.4964 MB / 443.8 MB, free: 44.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.1669, allocations: 340.9 kB / 444.1 MB, free: 44.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009708/0.1679, allocations: 1.195 MB / 445.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1679, allocations: 6.703 kB / 445.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1679, allocations: 0 / 445.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1679, allocations: 0 / 445.3 MB, free: 44.61 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001327/0.1692, allocations: 1.142 MB / 446.4 MB, free: 44.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1693, allocations: 13.45 kB / 446.4 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.1694, allocations: 148 kB / 446.6 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004979/0.1699, allocations: 171.7 kB / 446.8 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.1705, allocations: 0.5484 MB / 447.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.1705, allocations: 69.09 kB / 447.4 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.1706, allocations: 99.17 kB / 447.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.1716, allocations: 1.163 MB / 448.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.1716, allocations: 9.828 kB / 448.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.1717, allocations: 36.12 kB / 448.7 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.977e-05/0.1718, allocations: 86.28 kB / 448.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/0.1727, allocations: 0.996 MB / 449.8 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.1753, allocations: 3.871 MB / 453.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.176, allocations: 0.583 MB / 454.2 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.1762, allocations: 287.4 kB / 454.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1762, allocations: 16.62 kB / 454.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1762, allocations: 41.56 kB / 454.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.763e-06/0.1762, allocations: 0 / 454.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001579/0.1778, allocations: 1.689 MB / 456.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1779, allocations: 84.23 kB / 456.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.1781, allocations: 0.5583 MB / 456.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1782, allocations: 40.52 kB / 456.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1783, allocations: 454.5 kB / 457.4 MB, free: 39.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.1784, allocations: 229.8 kB / 457.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1785, allocations: 187 kB / 457.8 MB, free: 39.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.1785, allocations: 382.6 kB / 458.1 MB, free: 39.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.1788, allocations: 285.9 kB / 458.4 MB, free: 39.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1791, allocations: 0.6167 MB / 459 MB, free: 38.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.1797, allocations: 0.9689 MB / 460 MB, free: 37.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1797, allocations: 3 kB / 460 MB, free: 37.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001103/0.1808, allocations: 1.172 MB / 461.2 MB, free: 37.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1809, allocations: 8.938 kB / 461.2 MB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00069/0.1815, allocations: 0.7101 MB / 461.9 MB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.1819, allocations: 218.6 kB / 462.1 MB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.1823, allocations: 221.8 kB / 462.3 MB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.1843, allocations: 5.027 MB / 467.4 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1846, allocations: 35.66 kB / 467.4 MB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1846, allocations: 42.84 kB / 467.4 MB, free: 32.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.1848, allocations: 351.9 kB / 467.8 MB, free: 32.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.1849, allocations: 66.55 kB / 467.8 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/0.1854, allocations: 0.6554 MB / 468.5 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1854, allocations: 9.984 kB / 468.5 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1854, allocations: 0 / 468.5 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1854, allocations: 7.5 kB / 468.5 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1867, allocations: 1.456 MB / 470 MB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1867, allocations: 10.41 kB / 470 MB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.187, allocations: 167.7 kB / 470.1 MB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.187, allocations: 6.188 kB / 470.1 MB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1871, allocations: 18.78 kB / 470.2 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1871, allocations: 7.188 kB / 470.2 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1871, allocations: 5.406 kB / 470.2 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.1878, allocations: 1.021 MB / 471.2 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1879, allocations: 106.6 kB / 471.3 MB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.188, allocations: 18.88 kB / 471.3 MB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1881, allocations: 17.72 kB / 471.3 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.1882, allocations: 48.84 kB / 471.4 MB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1882, allocations: 20.34 kB / 471.4 MB, free: 31.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.1884, allocations: 357.7 kB / 471.8 MB, free: 31.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1884, allocations: 4 kB / 471.8 MB, free: 31.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004409/0.1888, allocations: 221.6 kB / 472 MB, free: 30.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.0008539/0.1897, allocations: 1.594 MB / 473.6 MB, free: 29.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.1905, allocations: 1.068 MB / 474.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1905, allocations: 3.156 kB / 474.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.1908, allocations: 296.4 kB / 474.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.1912, allocations: 162.5 kB / 475.1 MB, free: 29.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.1963, allocations: 7.008 MB / 482.1 MB, free: 25.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1966, allocations: 477 kB / 482.6 MB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.1969, allocations: 230.1 kB / 482.8 MB, free: 25.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.1972, allocations: 312.5 kB / 483.1 MB, free: 24.91 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1972, allocations: 4.469 kB / 483.1 MB, free: 24.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.23, allocations: 16.68 MB / 499.8 MB, free: 22.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.74, allocations: 5.219 kB / 499.8 MB, free: 22.78 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Display_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.685584543272853] Failed to read output from testmodel.py, exit status != 0: 7.8316999245435 7.844327855 7.674148453 Calling exit ...