Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_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.001342/0.001342, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001538/0.001538, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.765/1.765, allocations: 223.2 MB / 241.2 MB, free: 5.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4611/0.4611, allocations: 38.09 MB / 330.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 8 kB / 400.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.444, allocations: 59.16 MB / 459.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009136/0.4532, allocations: 6.822 MB / 466.1 MB, free: 25.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005244/0.4585, allocations: 2.202 MB / 468.3 MB, free: 24.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.4597, allocations: 44.44 kB / 468.4 MB, free: 24.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.4604, allocations: 134 kB / 468.5 MB, free: 23.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.4631, allocations: 0.5967 MB / 469.1 MB, free: 23.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.4645, allocations: 269.2 kB / 469.4 MB, free: 23.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.4676, allocations: 1.389 MB / 470.8 MB, free: 23.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.4699, allocations: 0.9185 MB / 471.7 MB, free: 22.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.4713, allocations: 427.9 kB / 472.1 MB, free: 22.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.4728, allocations: 0.6043 MB / 472.7 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4729, allocations: 34.97 kB / 472.7 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.4737, allocations: 231.9 kB / 473 MB, free: 22.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.4745, allocations: 452.4 kB / 473.4 MB, free: 22.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.4749, allocations: 191.1 kB / 473.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.4765, allocations: 0.8744 MB / 474.5 MB, free: 21.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.4765, allocations: 0 / 474.5 MB, free: 21.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.4765, allocations: 1.375 kB / 474.5 MB, free: 21.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.032e-05/0.4765, allocations: 0 / 474.5 MB, free: 21.53 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.002407/0.479, allocations: 1.061 MB / 475.5 MB, free: 20.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.392e-05/0.479, allocations: 9.781 kB / 475.5 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.4793, allocations: 149 kB / 475.7 MB, free: 20.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.4803, allocations: 161.8 kB / 475.8 MB, free: 20.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4816, allocations: 0.5739 MB / 476.4 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.4817, allocations: 66.2 kB / 476.5 MB, free: 20.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.482, allocations: 92.72 kB / 476.6 MB, free: 19.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.4842, allocations: 1.155 MB / 477.7 MB, free: 19.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.4842, allocations: 2.062 kB / 477.7 MB, free: 19.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4844, allocations: 31.88 kB / 477.8 MB, free: 19.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/0.4846, allocations: 83.45 kB / 477.8 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.4866, allocations: 0.9985 MB / 478.8 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006657/0.4933, allocations: 4.364 MB / 483.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.4948, allocations: 0.6239 MB / 483.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.4954, allocations: 315 kB / 484.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.294e-05/0.4955, allocations: 8.5 kB / 484.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4955, allocations: 39.12 kB / 484.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 5.25e-06/0.4955, allocations: 0 / 484.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.003138/0.4987, allocations: 1.738 MB / 485.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.4988, allocations: 85.61 kB / 486 MB, free: 12.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.4994, allocations: 0.5416 MB / 486.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4994, allocations: 37.7 kB / 486.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.4997, allocations: 442.7 kB / 487 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.4999, allocations: 220.9 kB / 487.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.4999, allocations: 20.12 kB / 487.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5001, allocations: 382.8 kB / 487.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.5005, allocations: 281.8 kB / 487.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.5011, allocations: 0.6075 MB / 488.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.5016, allocations: 393.9 kB / 488.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.5016, allocations: 4 kB / 488.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001863/0.5035, allocations: 1.164 MB / 490.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.5035, allocations: 15.98 kB / 490.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001229/0.5048, allocations: 0.7114 MB / 490.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/0.5055, allocations: 218.3 kB / 491 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.5062, allocations: 223.6 kB / 491.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.5102, allocations: 4.903 MB / 496.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.511, allocations: 39.92 kB / 496.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.5111, allocations: 47.95 kB / 496.2 MB, free: 1.906 MB / 350.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_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.000656/0.5117, allocations: 345.6 kB / 496.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.5118, allocations: 67.16 kB / 496.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.5129, allocations: 0.6499 MB / 497.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.5129, allocations: 8 kB / 497.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.5129, allocations: 0 / 497.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5129, allocations: 3.984 kB / 497.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.5156, allocations: 1.539 MB / 498.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5156, allocations: 0 / 498.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/0.5164, allocations: 179.9 kB / 499 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.5164, allocations: 4 kB / 499 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.5164, allocations: 16 kB / 499 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.5165, allocations: 11.94 kB / 499 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5165, allocations: 0 / 499 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.5181, allocations: 1.018 MB / 0.4883 GB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.5185, allocations: 184.3 kB / 0.4885 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.5186, allocations: 12 kB / 0.4885 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.5189, allocations: 19.98 kB / 0.4885 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.519, allocations: 60.33 kB / 0.4886 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.5191, allocations: 20 kB / 0.4886 GB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.5196, allocations: 354.8 kB / 0.4889 GB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.565e-06/0.5196, allocations: 0 / 0.4889 GB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001087/0.5207, allocations: 223.9 kB / 0.4892 GB, free: 13.08 MB / 366.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 (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.00202/0.5227, allocations: 1.578 MB / 0.4907 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.5251, allocations: 1.099 MB / 0.4918 GB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.5251, allocations: 4 kB / 0.4918 GB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.5257, allocations: 307 kB / 0.4921 GB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5267, allocations: 139.4 kB / 0.4922 GB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009391/0.5361, allocations: 5.269 MB / 0.4973 GB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.5374, allocations: 1.071 MB / 0.4984 GB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007666/0.5382, allocations: 225.6 kB / 0.4986 GB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.5386, allocations: 307.3 kB / 0.4989 GB, free: 2.746 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5386, allocations: 3.938 kB / 0.4989 GB, free: 2.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.576, allocations: 14.47 MB / 0.513 GB, free: 4.465 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.5763, allocations: 201.3 kB / 0.5132 GB, free: 4.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.855, allocations: 0 / 0.5132 GB, free: 4.227 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat does not exist to compare? outputFormat=mat