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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 102.7 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1712/0.1712, allocations: 38.03 MB / 329.7 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 65.23 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1135, allocations: 58.06 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008289/0.1219, allocations: 6.643 MB / 463.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.1255, allocations: 2.021 MB / 465.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006715/0.1262, allocations: 19.88 kB / 465.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.1282, allocations: 0.7197 MB / 466.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.1299, allocations: 0.5677 MB / 466.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.1306, allocations: 247.5 kB / 467.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1321, allocations: 1.141 MB / 468.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.133, allocations: 0.5953 MB / 468.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.1341, allocations: 0.5096 MB / 469.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1351, allocations: 0.6152 MB / 470 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.1354, allocations: 68 kB / 470.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.1361, allocations: 271.7 kB / 470.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005373/0.1366, allocations: 486.8 kB / 470.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000765/0.1374, allocations: 485.6 kB / 471.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1387, allocations: 1.168 MB / 472.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1387, allocations: 0 / 472.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1387, allocations: 0 / 472.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.312e-05/0.1388, allocations: 4 kB / 472.5 MB, free: 8.371 MB / 350.1 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.002403/0.1412, allocations: 1.204 MB / 473.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1413, allocations: 15.89 kB / 473.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.1415, allocations: 147.9 kB / 473.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/0.1425, allocations: 163.5 kB / 474 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009725/0.1434, allocations: 0.585 MB / 474.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.1435, allocations: 70.36 kB / 474.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.1437, allocations: 99.81 kB / 474.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.1454, allocations: 1.161 MB / 475.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.1454, allocations: 0 / 475.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.1455, allocations: 32 kB / 476 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.1456, allocations: 93.83 kB / 476 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.1472, allocations: 0.9952 MB / 477 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/0.1524, allocations: 4.374 MB / 481.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1535, allocations: 0.6256 MB / 482 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.1539, allocations: 311.3 kB / 482.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.154, allocations: 4.562 kB / 482.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.154, allocations: 39.12 kB / 482.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.335e-06/0.154, allocations: 3.938 kB / 482.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002748/0.1568, allocations: 1.742 MB / 484.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1569, allocations: 85.67 kB / 484.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.1574, allocations: 0.5493 MB / 484.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.1575, allocations: 37.7 kB / 484.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.1578, allocations: 430.8 kB / 485.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.1579, allocations: 224.9 kB / 485.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.1582, allocations: 190.5 kB / 485.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1583, allocations: 378.9 kB / 486 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.1588, allocations: 289.8 kB / 486.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.1594, allocations: 0.6075 MB / 486.9 MB, free: 9.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.1605, allocations: 0.9691 MB / 487.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.1606, allocations: 4 kB / 487.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002003/0.1626, allocations: 1.176 MB / 489 MB, free: 6.961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.1626, allocations: 12 kB / 489 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001255/0.1639, allocations: 0.7144 MB / 489.8 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007004/0.1646, allocations: 230.7 kB / 490 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.1653, allocations: 215.7 kB / 490.2 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/0.1702, allocations: 5.369 MB / 495.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.1708, allocations: 24 kB / 495.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.1709, allocations: 47.94 kB / 495.6 MB, free: 15.92 MB / 382.1 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.0004724/0.1714, allocations: 353.5 kB / 496 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.1715, allocations: 75.08 kB / 496.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1727, allocations: 0.6538 MB / 496.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.1727, allocations: 8 kB / 496.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1727, allocations: 0 / 496.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.1727, allocations: 7.984 kB / 496.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.1755, allocations: 1.531 MB / 498.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.1755, allocations: 4 kB / 498.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/0.1763, allocations: 175.7 kB / 498.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.1763, allocations: 4 kB / 498.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.1763, allocations: 19.98 kB / 498.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.1764, allocations: 4 kB / 498.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1764, allocations: 4.156 kB / 498.5 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1777, allocations: 1.033 MB / 499.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.178, allocations: 168.4 kB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.1781, allocations: 20 kB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.1784, allocations: 15.98 kB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.1786, allocations: 52.38 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.1786, allocations: 23.98 kB / 499.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004223/0.179, allocations: 354.8 kB / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1791, allocations: 0 / 0.4884 GB, free: 11.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008935/0.18, allocations: 227.9 kB / 0.4886 GB, free: 11.07 MB / 382.1 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.00184/0.1818, allocations: 1.587 MB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.184, allocations: 1.289 MB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.184, allocations: 0 / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.1845, allocations: 319.3 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.1853, allocations: 157 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.1954, allocations: 7.281 MB / 0.499 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.1961, allocations: 1.075 MB / 0.5 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006383/0.1968, allocations: 233.5 kB / 0.5003 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.1972, allocations: 303.3 kB / 0.5005 GB, free: 14.29 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1972, allocations: 0 / 0.5005 GB, free: 14.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2432/0.4404, allocations: 15.18 MB / 0.5154 GB, free: 68.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.31, allocations: 12.09 kB / 0.5154 GB, free: 68.63 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)