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.001176/0.001176, allocations: 103.5 kB / 16.62 MB, free: 6.805 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.001161/0.001162, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.24/1.24, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1689/0.1689, allocations: 38.01 MB / 329.4 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.09 kB / 398.4 MB, free: 34.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08265/0.08402, allocations: 58.06 MB / 456.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007882/0.09193, allocations: 7.681 MB / 464.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.09565, allocations: 2.321 MB / 466.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006241/0.0963, allocations: 39.75 kB / 466.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.09805, allocations: 0.6806 MB / 467.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.09933, allocations: 0.5331 MB / 467.7 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.09991, allocations: 211.7 kB / 467.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1011, allocations: 1.149 MB / 469.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008715/0.102, allocations: 0.6538 MB / 469.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.1027, allocations: 0.5058 MB / 470.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009223/0.1036, allocations: 0.6698 MB / 470.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1038, allocations: 68 kB / 470.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.1043, allocations: 263.7 kB / 471.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.1047, allocations: 486.9 kB / 471.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005475/0.1053, allocations: 0.4936 MB / 472.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1063, allocations: 1.16 MB / 473.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1063, allocations: 0 / 473.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1063, allocations: 0 / 473.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.759e-05/0.1064, allocations: 7.938 kB / 473.3 MB, free: 7.328 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.002089/0.1085, allocations: 1.204 MB / 474.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1085, allocations: 19.83 kB / 474.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.1087, allocations: 143.9 kB / 474.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/0.1097, allocations: 167.6 kB / 474.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/0.1107, allocations: 0.585 MB / 475.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.1107, allocations: 66.36 kB / 475.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.111, allocations: 99.84 kB / 475.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.1126, allocations: 1.157 MB / 476.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.1126, allocations: 11.84 kB / 476.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.1127, allocations: 39.97 kB / 476.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.1129, allocations: 81.95 kB / 476.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.1145, allocations: 1.007 MB / 477.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.1196, allocations: 4.358 MB / 482.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1207, allocations: 0.631 MB / 482.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/0.1211, allocations: 304.8 kB / 483.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.1212, allocations: 8.562 kB / 483.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1212, allocations: 47.05 kB / 483.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.336e-06/0.1212, allocations: 0 / 483.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002722/0.124, allocations: 1.742 MB / 485 MB, free: 11.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.124, allocations: 81.67 kB / 485.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/0.1246, allocations: 0.5533 MB / 485.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.1246, allocations: 33.7 kB / 485.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.1249, allocations: 438.8 kB / 486.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.1251, allocations: 220.8 kB / 486.3 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.1253, allocations: 186.5 kB / 486.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1255, allocations: 382.8 kB / 486.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.1259, allocations: 281.8 kB / 487.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.1266, allocations: 0.6153 MB / 487.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.1277, allocations: 0.9653 MB / 488.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.1278, allocations: 7.984 kB / 488.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002137/0.1299, allocations: 1.172 MB / 489.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1299, allocations: 8 kB / 489.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001279/0.1312, allocations: 0.7182 MB / 490.6 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.1319, allocations: 222.7 kB / 490.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.1327, allocations: 227.6 kB / 491.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004504/0.1372, allocations: 5.369 MB / 496.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.1377, allocations: 35.88 kB / 496.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.1378, allocations: 47.98 kB / 496.5 MB, free: 14.86 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.0004243/0.1382, allocations: 341.5 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1384, allocations: 75.09 kB / 496.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1394, allocations: 0.6499 MB / 497.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1394, allocations: 12 kB / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1394, allocations: 0 / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1394, allocations: 3.984 kB / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.1418, allocations: 1.535 MB / 499.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1418, allocations: 0 / 499.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.1426, allocations: 171.8 kB / 499.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1426, allocations: 4 kB / 499.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.1426, allocations: 23.98 kB / 499.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.1427, allocations: 4 kB / 499.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1427, allocations: 4.156 kB / 499.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.144, allocations: 1.018 MB / 0.4886 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.1442, allocations: 184.3 kB / 0.4888 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.1443, allocations: 20 kB / 0.4888 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.1446, allocations: 15.98 kB / 0.4888 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1448, allocations: 60.53 kB / 0.4889 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.1448, allocations: 20 kB / 0.4889 GB, free: 10.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003525/0.1452, allocations: 362.8 kB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1452, allocations: 3.938 kB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007765/0.146, allocations: 220 kB / 0.4895 GB, free: 10.02 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.001523/0.1475, allocations: 1.587 MB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.1494, allocations: 1.294 MB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1494, allocations: 1.062 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.1499, allocations: 319.2 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.1506, allocations: 154.4 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00907/0.1597, allocations: 7.612 MB / 0.5002 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.1603, allocations: 1.063 MB / 0.5012 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005962/0.1609, allocations: 229.6 kB / 0.5014 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.1613, allocations: 307.3 kB / 0.5017 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1613, allocations: 0 / 0.5017 GB, free: 12.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2119/0.3733, allocations: 15.04 MB / 0.5164 GB, free: 69.89 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.3734, allocations: 206.8 kB / 0.5166 GB, free: 69.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.395, allocations: 3.844 kB / 0.5166 GB, free: 69.64 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)