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.00137/0.00137, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.001281/0.001281, allocations: 200 kB / 18.01 MB, free: 5.055 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.496/1.496, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1819/0.1819, allocations: 37.98 MB / 309.2 MB, free: 5.949 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.001375/0.001375, allocations: 67.89 kB / 431.3 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 55.25 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009594/0.1382, allocations: 6.636 MB / 493.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004618/0.1428, allocations: 2.065 MB / 495.3 MB, free: 104 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.1437, allocations: 23.88 kB / 495.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.1461, allocations: 0.7241 MB / 496 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.148, allocations: 0.5794 MB / 496.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.1489, allocations: 243.5 kB / 496.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.151, allocations: 1.145 MB / 498 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.1523, allocations: 0.5953 MB / 498.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.1536, allocations: 0.5136 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.1549, allocations: 0.6113 MB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.1552, allocations: 75.94 kB / 499.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007392/0.156, allocations: 271.7 kB / 0.4883 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006916/0.1567, allocations: 482.8 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.1578, allocations: 493.5 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.1603, allocations: 1.18 MB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1603, allocations: 0 / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1603, allocations: 0 / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.248e-05/0.1604, allocations: 0 / 0.4904 GB, free: 9.176 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.003318/0.1637, allocations: 1.211 MB / 0.4916 GB, free: 7.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.1637, allocations: 15.89 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002787/0.164, allocations: 139.9 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.1652, allocations: 171.5 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.1667, allocations: 0.6201 MB / 0.4925 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.1668, allocations: 66.36 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.1671, allocations: 103.8 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.169, allocations: 1.161 MB / 0.4938 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/0.1691, allocations: 4 kB / 0.4938 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.1692, allocations: 35.98 kB / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/0.1694, allocations: 85.89 kB / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.1714, allocations: 0.9991 MB / 0.4949 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006586/0.178, allocations: 4.346 MB / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.1793, allocations: 0.6178 MB / 0.4998 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.1798, allocations: 315.2 kB / 0.5001 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.1799, allocations: 8.547 kB / 0.5001 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.1799, allocations: 43.12 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 3.216e-06/0.1799, allocations: 0 / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003361/0.1833, allocations: 1.738 MB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.1834, allocations: 85.67 kB / 0.5019 GB, free: 12.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/0.1841, allocations: 0.5493 MB / 0.5024 GB, free: 12.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.1841, allocations: 33.7 kB / 0.5025 GB, free: 12.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.1844, allocations: 446.8 kB / 0.5029 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.1847, allocations: 213 kB / 0.5031 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.1849, allocations: 190.4 kB / 0.5033 GB, free: 11.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.1852, allocations: 378.8 kB / 0.5036 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.1857, allocations: 289.8 kB / 0.5039 GB, free: 10.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.1864, allocations: 0.5997 MB / 0.5045 GB, free: 10.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.1878, allocations: 0.9808 MB / 0.5055 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.1878, allocations: 4 kB / 0.5055 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002276/0.1901, allocations: 1.171 MB / 0.5066 GB, free: 7.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.1901, allocations: 8 kB / 0.5066 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001325/0.1915, allocations: 0.7207 MB / 0.5073 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007703/0.1922, allocations: 214.4 kB / 0.5075 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.193, allocations: 223.6 kB / 0.5077 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005888/0.1989, allocations: 5.369 MB / 0.513 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008755/0.1998, allocations: 31.98 kB / 0.513 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.2, allocations: 44 kB / 0.513 GB, free: 0.7109 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.0008068/0.2008, allocations: 353.5 kB / 0.5134 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.201, allocations: 71.09 kB / 0.5135 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.2023, allocations: 0.6501 MB / 0.5141 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.2023, allocations: 8 kB / 0.5141 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2023, allocations: 3.938 kB / 0.5141 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2023, allocations: 4 kB / 0.5141 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.2053, allocations: 1.535 MB / 0.5156 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.2053, allocations: 12.16 kB / 0.5156 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.2061, allocations: 171.8 kB / 0.5158 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.2061, allocations: 4 kB / 0.5158 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.2062, allocations: 15.98 kB / 0.5158 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2062, allocations: 4 kB / 0.5158 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2062, allocations: 4 kB / 0.5158 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.2077, allocations: 1.029 MB / 0.5168 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.2081, allocations: 176.4 kB / 0.517 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.2082, allocations: 19.98 kB / 0.517 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.2085, allocations: 20 kB / 0.517 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.2087, allocations: 48.44 kB / 0.5171 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.2087, allocations: 19.98 kB / 0.5171 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005381/0.2093, allocations: 358.8 kB / 0.5174 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2093, allocations: 0 / 0.5174 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001175/0.2105, allocations: 220 kB / 0.5176 GB, free: 11.88 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.002014/0.2125, allocations: 1.59 MB / 0.5192 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.2147, allocations: 1.108 MB / 0.5203 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2148, allocations: 0 / 0.5203 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.2152, allocations: 315.9 kB / 0.5206 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.2162, allocations: 158.4 kB / 0.5207 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.2279, allocations: 7.141 MB / 0.5277 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2636/0.4915, allocations: 1.065 MB / 0.5287 GB, free: 51.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008835/0.4924, allocations: 228 kB / 0.529 GB, free: 51.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.493, allocations: 311.5 kB / 0.5292 GB, free: 51.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.493, allocations: 0 / 0.5292 GB, free: 51.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.5379, allocations: 15.7 MB / 0.5446 GB, free: 47.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.94, allocations: 5.188 kB / 0.5446 GB, free: 47.04 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)