Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.00158, allocations: 181.9 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 102.8 kB / 270.3 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2707/0.2707, allocations: 38.05 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004632, allocations: 8 kB / 422.8 MB, free: 26.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 56.33 MB / 479.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.01037/0.1173, allocations: 6.536 MB / 485.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005546/0.1229, allocations: 2.285 MB / 487.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.1236, allocations: 39.75 kB / 488 MB, free: 9.062 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.1241, allocations: 131.1 kB / 488.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.126, allocations: 470.6 kB / 488.6 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.1271, allocations: 263.4 kB / 488.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1283, allocations: 0.5614 MB / 489.4 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.1304, allocations: 0.8928 MB / 490.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008724/0.1313, allocations: 374.6 kB / 490.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00087/0.1322, allocations: 402.6 kB / 491 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.1323, allocations: 36 kB / 491.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006677/0.133, allocations: 219.7 kB / 491.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.1336, allocations: 415 kB / 491.7 MB, free: 5.305 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.1339, allocations: 189.2 kB / 491.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.1353, allocations: 0.8845 MB / 492.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1353, allocations: 0 / 492.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1353, allocations: 3.938 kB / 492.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1353, allocations: 0 / 492.8 MB, free: 4.223 MB / 330.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.002799/0.1381, allocations: 1.055 MB / 493.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1382, allocations: 8.031 kB / 493.8 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/0.1385, allocations: 139.7 kB / 494 MB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.14, allocations: 166.7 kB / 494.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.1417, allocations: 0.5801 MB / 494.7 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.605e-05/0.1418, allocations: 65.98 kB / 494.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.1422, allocations: 103.9 kB / 494.9 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.1449, allocations: 1.137 MB / 496 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.145, allocations: 7.938 kB / 496 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.1451, allocations: 39.97 kB / 496.1 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002864/0.1454, allocations: 85.95 kB / 496.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/0.1483, allocations: 0.9951 MB / 497.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009282/0.1576, allocations: 4.37 MB / 0.4898 GB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.1597, allocations: 0.6235 MB / 0.4904 GB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.1598, allocations: 12.59 kB / 0.4904 GB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.1598, allocations: 51.11 kB / 0.4904 GB, free: 10.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=63): time 3.877e-06/0.1598, allocations: 0 / 0.4904 GB, free: 10.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=64): time 0.0047/0.1645, allocations: 1.722 MB / 0.4921 GB, free: 8.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.1647, allocations: 85.67 kB / 0.4922 GB, free: 8.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/0.1656, allocations: 0.5532 MB / 0.4927 GB, free: 7.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.1657, allocations: 41.83 kB / 0.4928 GB, free: 7.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.1661, allocations: 469.3 kB / 0.4932 GB, free: 7.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.1664, allocations: 220.9 kB / 0.4934 GB, free: 7.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.1664, allocations: 20 kB / 0.4934 GB, free: 7.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1666, allocations: 346.8 kB / 0.4938 GB, free: 6.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008134/0.1674, allocations: 281.8 kB / 0.494 GB, free: 6.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.1686, allocations: 0.6075 MB / 0.4946 GB, free: 5.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.1696, allocations: 393.9 kB / 0.495 GB, free: 5.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.1697, allocations: 0 / 0.495 GB, free: 5.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003522/0.1732, allocations: 1.138 MB / 0.4961 GB, free: 4.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1733, allocations: 19.95 kB / 0.4961 GB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002294/0.1756, allocations: 0.7066 MB / 0.4968 GB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.1768, allocations: 222.3 kB / 0.497 GB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.1784, allocations: 215.7 kB / 0.4973 GB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007081/0.1855, allocations: 4.989 MB / 0.5021 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.1864, allocations: 35.98 kB / 0.5022 GB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/0.1865, allocations: 40 kB / 0.5022 GB, free: 13.63 MB / 362.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_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],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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007036/0.1872, allocations: 353.4 kB / 0.5025 GB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.1874, allocations: 67.16 kB / 0.5026 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.1892, allocations: 0.6537 MB / 0.5032 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.1893, allocations: 8 kB / 0.5032 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1893, allocations: 4 kB / 0.5032 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.1893, allocations: 3.984 kB / 0.5033 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/0.1934, allocations: 1.536 MB / 0.5048 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1935, allocations: 3.938 kB / 0.5048 GB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.195, allocations: 171.8 kB / 0.5049 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.195, allocations: 4 kB / 0.5049 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.1951, allocations: 16.19 kB / 0.5049 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.1951, allocations: 4 kB / 0.5049 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1952, allocations: 0 / 0.5049 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.1977, allocations: 1.102 MB / 0.506 GB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.1981, allocations: 188.2 kB / 0.5062 GB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.1982, allocations: 12 kB / 0.5062 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.1988, allocations: 23.98 kB / 0.5062 GB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.199, allocations: 48.44 kB / 0.5063 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.1991, allocations: 20 kB / 0.5063 GB, free: 9.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006193/0.1997, allocations: 354.8 kB / 0.5066 GB, free: 8.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1997, allocations: 0 / 0.5066 GB, free: 8.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001226/0.201, allocations: 220 kB / 0.5068 GB, free: 8.691 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003052/0.204, allocations: 2.06 MB / 0.5089 GB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.207, allocations: 1.095 MB / 0.5099 GB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.2071, allocations: 0 / 0.5099 GB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000878/0.208, allocations: 315.2 kB / 0.5102 GB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2091, allocations: 138.8 kB / 0.5104 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3044/0.5136, allocations: 12.55 MB / 0.5226 GB, free: 45.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008654/0.5145, allocations: 1.086 MB / 0.5237 GB, free: 45.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/0.5152, allocations: 320.6 kB / 0.524 GB, free: 45.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.5152, allocations: 0 / 0.524 GB, free: 45.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.909/3.424, allocations: 17.41 MB / 0.541 GB, free: 38.34 MB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe 2>&1)