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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001092/0.001092, allocations: 114.9 kB / 17.06 MB, free: 5.926 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.001099/0.001099, allocations: 198.9 kB / 18 MB, free: 5.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 223.9 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1664/0.1664, allocations: 37.99 MB / 309.2 MB, free: 5.938 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.91 kB / 431.3 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09475, allocations: 55.24 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008093/0.1029, allocations: 6.644 MB / 493.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1064, allocations: 2.057 MB / 495.3 MB, free: 92 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.1069, allocations: 27.81 kB / 495.3 MB, free: 64 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.1088, allocations: 0.7158 MB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.1103, allocations: 0.5755 MB / 496.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.111, allocations: 247.5 kB / 496.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1127, allocations: 1.145 MB / 498 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000966/0.1137, allocations: 0.5914 MB / 498.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009801/0.1146, allocations: 0.5175 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.1157, allocations: 0.6113 MB / 499.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.1159, allocations: 68 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006032/0.1166, allocations: 275.6 kB / 0.4883 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000522/0.1171, allocations: 482.8 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008005/0.1179, allocations: 493.5 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1195, allocations: 1.188 MB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1195, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1195, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.866e-05/0.1195, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.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.002414/0.122, allocations: 1.207 MB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.122, allocations: 11.89 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.1222, allocations: 147.9 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.1232, allocations: 163.5 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1244, allocations: 0.6201 MB / 0.4925 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.1245, allocations: 70.36 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.1247, allocations: 103.8 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.1266, allocations: 1.157 MB / 0.4938 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.1266, allocations: 0 / 0.4938 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.1267, allocations: 35.98 kB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.1269, allocations: 89.89 kB / 0.4939 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.1287, allocations: 0.9952 MB / 0.4949 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/0.1343, allocations: 4.342 MB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1354, allocations: 0.6255 MB / 0.4998 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1359, allocations: 307.3 kB / 0.5001 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.1359, allocations: 8.547 kB / 0.5001 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.136, allocations: 47.11 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.856e-06/0.136, allocations: 0 / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.002972/0.139, allocations: 1.738 MB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.139, allocations: 85.67 kB / 0.5019 GB, free: 12.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/0.1396, allocations: 0.5493 MB / 0.5024 GB, free: 12.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.1397, allocations: 41.64 kB / 0.5025 GB, free: 12.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.14, allocations: 442.8 kB / 0.5029 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.1401, allocations: 217 kB / 0.5031 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.1404, allocations: 190.5 kB / 0.5033 GB, free: 11.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1406, allocations: 374.8 kB / 0.5036 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.141, allocations: 285.8 kB / 0.5039 GB, free: 10.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.1417, allocations: 0.6114 MB / 0.5045 GB, free: 10.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.1429, allocations: 0.973 MB / 0.5054 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.1429, allocations: 4 kB / 0.5055 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002093/0.145, allocations: 1.172 MB / 0.5066 GB, free: 7.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1451, allocations: 12 kB / 0.5066 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001274/0.1464, allocations: 0.7169 MB / 0.5073 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007198/0.1471, allocations: 210.4 kB / 0.5075 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.1478, allocations: 227.6 kB / 0.5077 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004876/0.1527, allocations: 5.377 MB / 0.513 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.1532, allocations: 24 kB / 0.513 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.1533, allocations: 47.98 kB / 0.513 GB, free: 0.7031 MB / 398.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.0004507/0.1538, allocations: 349.4 kB / 0.5134 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1539, allocations: 67.09 kB / 0.5134 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.1549, allocations: 0.654 MB / 0.5141 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.155, allocations: 8 kB / 0.5141 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.155, allocations: 7.938 kB / 0.5141 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.155, allocations: 7.984 kB / 0.5141 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.1574, allocations: 1.539 MB / 0.5156 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1575, allocations: 4.031 kB / 0.5156 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.1582, allocations: 171.8 kB / 0.5158 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.1582, allocations: 4 kB / 0.5158 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.1583, allocations: 19.98 kB / 0.5158 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1583, allocations: 4 kB / 0.5158 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1583, allocations: 0 / 0.5158 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1597, allocations: 1.037 MB / 0.5168 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.16, allocations: 168.4 kB / 0.517 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.1601, allocations: 24 kB / 0.517 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.1605, allocations: 15.98 kB / 0.517 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1606, allocations: 48.44 kB / 0.5171 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.1606, allocations: 16 kB / 0.5171 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004156/0.161, allocations: 362.8 kB / 0.5174 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1611, allocations: 0 / 0.5174 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009058/0.162, allocations: 227.9 kB / 0.5176 GB, free: 11.86 MB / 414.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.1638, allocations: 1.582 MB / 0.5192 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.1657, allocations: 1.104 MB / 0.5203 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1657, allocations: 0 / 0.5203 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.1661, allocations: 315.8 kB / 0.5206 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.167, allocations: 166.4 kB / 0.5207 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.1773, allocations: 7.134 MB / 0.5277 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2036/0.381, allocations: 1.061 MB / 0.5287 GB, free: 50.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008707/0.3819, allocations: 229.5 kB / 0.5289 GB, free: 50.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.3824, allocations: 313.2 kB / 0.5292 GB, free: 50.66 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3824, allocations: 0 / 0.5292 GB, free: 50.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.4281, allocations: 15.71 MB / 0.5446 GB, free: 46.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.57, allocations: 2.188 kB / 0.5446 GB, free: 46.46 MB / 414.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)