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.0008714/0.0008715, allocations: 91.77 kB / 16.31 MB, free: 5.559 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.001125/0.001125, allocations: 179.3 kB / 17.21 MB, free: 5.48 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.666/1.666, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1818/0.1818, allocations: 38.04 MB / 309.7 MB, free: 6.039 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.0005462/0.0005464, allocations: 19.12 kB / 376.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2827, allocations: 56.33 MB / 432.9 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005348/0.2881, allocations: 6.824 MB / 439.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.2914, allocations: 2.253 MB / 442 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.2919, allocations: 39.75 kB / 442.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.2922, allocations: 138.9 kB / 442.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.2935, allocations: 0.595 MB / 442.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.2941, allocations: 259.6 kB / 443 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.2951, allocations: 1.402 MB / 444.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.2962, allocations: 0.908 MB / 445.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.2968, allocations: 422 kB / 445.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.2975, allocations: 0.6037 MB / 446.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.45e-05/0.2976, allocations: 36 kB / 446.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.298, allocations: 231.6 kB / 446.6 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.2983, allocations: 454.9 kB / 447.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.2984, allocations: 189.2 kB / 447.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.299, allocations: 0.8845 MB / 448.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.299, allocations: 0 / 448.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2991, allocations: 0 / 448.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2991, allocations: 0 / 448.1 MB, free: 3.508 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.001527/0.3006, allocations: 1.052 MB / 449.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3007, allocations: 8.031 kB / 449.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3008, allocations: 147.7 kB / 449.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007981/0.3016, allocations: 162.6 kB / 449.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007824/0.3024, allocations: 0.5685 MB / 450.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.3024, allocations: 73.97 kB / 450.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.3026, allocations: 99.86 kB / 450.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.3039, allocations: 1.145 MB / 451.4 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.304, allocations: 11.94 kB / 451.4 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.304, allocations: 32 kB / 451.4 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.3042, allocations: 85.94 kB / 451.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.3057, allocations: 0.9951 MB / 452.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.3108, allocations: 4.374 MB / 456.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.3119, allocations: 0.6219 MB / 457.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.3124, allocations: 303.7 kB / 457.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.3124, allocations: 8.562 kB / 457.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3125, allocations: 39.06 kB / 457.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.3125, allocations: 0 / 457.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.00295/0.3154, allocations: 1.738 MB / 459.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.3155, allocations: 81.67 kB / 459.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.3161, allocations: 0.5454 MB / 460.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.3161, allocations: 37.7 kB / 460.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.3164, allocations: 434.8 kB / 460.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.3166, allocations: 228.9 kB / 460.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.3166, allocations: 20 kB / 460.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3168, allocations: 374.8 kB / 461.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.3173, allocations: 293.8 kB / 461.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.318, allocations: 0.5997 MB / 462.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.3186, allocations: 397.9 kB / 462.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3186, allocations: 8 kB / 462.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002065/0.3207, allocations: 1.16 MB / 463.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3207, allocations: 12 kB / 463.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001382/0.3221, allocations: 0.7112 MB / 464.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007/0.3228, allocations: 214.3 kB / 464.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.3236, allocations: 219.7 kB / 464.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/0.3284, allocations: 4.919 MB / 469.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.3291, allocations: 35.98 kB / 469.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.3292, allocations: 40 kB / 469.9 MB, free: 12.66 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.0005782/0.3298, allocations: 357.5 kB / 470.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3299, allocations: 71.11 kB / 470.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.331, allocations: 0.6499 MB / 470.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.331, allocations: 8 kB / 470.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.331, allocations: 0 / 470.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.331, allocations: 7.922 kB / 470.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.3335, allocations: 1.532 MB / 472.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3336, allocations: 0 / 472.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.3343, allocations: 179.9 kB / 472.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.3343, allocations: 8 kB / 472.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.3344, allocations: 23.94 kB / 472.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3344, allocations: 4 kB / 472.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3344, allocations: 3.984 kB / 472.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.3359, allocations: 1.025 MB / 473.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.3361, allocations: 176.4 kB / 473.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.3362, allocations: 15.98 kB / 473.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3365, allocations: 19.91 kB / 473.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3366, allocations: 48.48 kB / 474 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.3367, allocations: 24 kB / 474 MB, free: 8.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.3371, allocations: 350.8 kB / 474.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3371, allocations: 3.938 kB / 474.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009022/0.338, allocations: 224 kB / 474.6 MB, free: 7.816 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 (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.001695/0.3397, allocations: 1.574 MB / 476.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.3416, allocations: 1.103 MB / 477.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3416, allocations: 0 / 477.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.3421, allocations: 311 kB / 477.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.3429, allocations: 143.8 kB / 477.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/0.3502, allocations: 5.248 MB / 482.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.351, allocations: 1.071 MB / 484 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006404/0.3516, allocations: 233.6 kB / 484.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.352, allocations: 303.3 kB / 484.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.352, allocations: 0 / 484.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.3851, allocations: 14.46 MB / 499 MB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/0.3856, allocations: 196.9 kB / 499.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.519, allocations: 0 / 499.2 MB, free: 14.84 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/linux/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) Environment - environmentSimulation: