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.001696/0.001696, allocations: 109.7 kB / 16.51 MB, free: 6.715 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.002118/0.002118, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.468/1.468, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1648/0.1648, allocations: 37.99 MB / 308.6 MB, free: 6.238 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.001446/0.001446, allocations: 67.03 kB / 374.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2613, allocations: 55.24 MB / 430 MB, free: 19.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006652/0.268, allocations: 7.684 MB / 437.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.2712, allocations: 2.392 MB / 440 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.2716, allocations: 47.69 kB / 440.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2729, allocations: 0.6807 MB / 440.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.2739, allocations: 0.5214 MB / 441.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.2745, allocations: 223.6 kB / 441.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.2758, allocations: 1.804 MB / 443.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008819/0.2767, allocations: 0.5871 MB / 443.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007422/0.2775, allocations: 446 kB / 444.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007961/0.2783, allocations: 0.658 MB / 445 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.289e-05/0.2784, allocations: 48 kB / 445 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.2789, allocations: 243.7 kB / 445.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.2793, allocations: 474.8 kB / 445.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003958/0.2797, allocations: 469.5 kB / 446.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008643/0.2806, allocations: 1.145 MB / 447.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2806, allocations: 0 / 447.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2806, allocations: 4 kB / 447.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2806, allocations: 0 / 447.3 MB, free: 2.441 MB / 318.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.001856/0.2825, allocations: 1.211 MB / 448.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.2825, allocations: 8.031 kB / 448.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.2827, allocations: 139.9 kB / 448.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.2836, allocations: 167.5 kB / 448.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.2844, allocations: 0.5889 MB / 449.4 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.2845, allocations: 70.3 kB / 449.5 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.2847, allocations: 103.9 kB / 449.6 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.2866, allocations: 1.153 MB / 450.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.2866, allocations: 4 kB / 450.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.2867, allocations: 35.98 kB / 450.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.2869, allocations: 89.88 kB / 450.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.2884, allocations: 0.9991 MB / 451.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.2938, allocations: 4.354 MB / 456.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2949, allocations: 0.6297 MB / 456.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.2953, allocations: 307.2 kB / 457.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.2954, allocations: 12.56 kB / 457.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.2954, allocations: 43.12 kB / 457.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.414e-06/0.2954, allocations: 0 / 457.2 MB, free: 8.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002853/0.2983, allocations: 1.749 MB / 459 MB, free: 6.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.2984, allocations: 81.67 kB / 459.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.2989, allocations: 0.5493 MB / 459.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.299, allocations: 37.7 kB / 459.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.2993, allocations: 434.8 kB / 460.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.2994, allocations: 220.9 kB / 460.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.2997, allocations: 190.6 kB / 460.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2998, allocations: 374.8 kB / 460.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.3003, allocations: 285.8 kB / 461.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.301, allocations: 0.6114 MB / 461.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.3022, allocations: 0.973 MB / 462.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3022, allocations: 0 / 462.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002051/0.3043, allocations: 1.18 MB / 463.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3043, allocations: 12 kB / 463.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001293/0.3056, allocations: 0.7144 MB / 464.6 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/0.3064, allocations: 218.9 kB / 464.8 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.3071, allocations: 223.6 kB / 465 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.3114, allocations: 4.918 MB / 470 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.3121, allocations: 32 kB / 470 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.3122, allocations: 52.05 kB / 470 MB, free: 10.45 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_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.0005827/0.3128, allocations: 357.3 kB / 470.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3129, allocations: 71.09 kB / 470.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.314, allocations: 0.65 MB / 471.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3141, allocations: 8 kB / 471.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3141, allocations: 3.984 kB / 471.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3141, allocations: 0 / 471.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.3166, allocations: 1.543 MB / 472.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3167, allocations: 4 kB / 472.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/0.3174, allocations: 167.8 kB / 472.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3174, allocations: 4 kB / 472.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/0.3175, allocations: 15.98 kB / 472.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3175, allocations: 12.09 kB / 472.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3175, allocations: 7.938 kB / 472.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.3189, allocations: 1.026 MB / 473.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.3191, allocations: 176.3 kB / 474.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.3192, allocations: 20 kB / 474.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3195, allocations: 15.98 kB / 474.1 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3196, allocations: 48.44 kB / 474.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.3196, allocations: 19.98 kB / 474.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004761/0.3201, allocations: 358.8 kB / 474.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3201, allocations: 0 / 474.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008371/0.321, allocations: 224 kB / 474.7 MB, free: 5.613 MB / 350.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.001655/0.3226, allocations: 1.586 MB / 476.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.3244, allocations: 1.099 MB / 477.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3244, allocations: 384 / 477.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004599/0.3248, allocations: 315 kB / 477.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.3256, allocations: 146.7 kB / 477.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009644/0.3353, allocations: 7.629 MB / 485.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.336, allocations: 1.071 MB / 486.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006399/0.3366, allocations: 233.5 kB / 486.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.337, allocations: 311.3 kB / 487.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.337, allocations: 0 / 487.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.3704, allocations: 14.62 MB / 0.49 GB, free: 10.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.3707, allocations: 216.3 kB / 0.4902 GB, free: 9.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.497, allocations: 4 kB / 0.4902 GB, free: 9.805 MB / 382.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)