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.0009873/0.0009873, allocations: 95.73 kB / 16.3 MB, free: 6.461 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.0009613/0.0009613, allocations: 180.7 kB / 17.2 MB, free: 6.34 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.875/1.875, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.176/0.176, allocations: 38.03 MB / 309.7 MB, free: 6.133 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.0005063/0.0005064, allocations: 20 kB / 376.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3158, allocations: 56.33 MB / 432.9 MB, free: 19.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005841/0.3217, allocations: 6.532 MB / 439.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003557/0.3253, allocations: 2.273 MB / 441.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005078/0.3259, allocations: 51.62 kB / 441.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.3263, allocations: 135.1 kB / 441.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.3276, allocations: 466.6 kB / 442.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.3283, allocations: 259.5 kB / 442.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.3289, allocations: 0.5652 MB / 443.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.3302, allocations: 0.8928 MB / 444.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.3307, allocations: 370.6 kB / 444.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.3312, allocations: 406.7 kB / 444.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.3313, allocations: 36 kB / 444.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.3317, allocations: 223.7 kB / 445.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.3321, allocations: 407.1 kB / 445.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.3322, allocations: 197.1 kB / 445.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.3328, allocations: 0.8845 MB / 446.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3328, allocations: 0 / 446.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3328, allocations: 0 / 446.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3328, allocations: 0 / 446.6 MB, free: 5.359 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.001609/0.3345, allocations: 1.048 MB / 447.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3345, allocations: 12.03 kB / 447.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.3347, allocations: 139.7 kB / 447.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3357, allocations: 170.6 kB / 447.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3368, allocations: 0.5762 MB / 448.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.3368, allocations: 65.98 kB / 448.6 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.337, allocations: 99.94 kB / 448.7 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3384, allocations: 1.145 MB / 449.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.3385, allocations: 4 kB / 449.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.3386, allocations: 39.98 kB / 449.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.3387, allocations: 85.89 kB / 449.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.34, allocations: 0.9913 MB / 450.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005616/0.3457, allocations: 4.374 MB / 455.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.3469, allocations: 0.6274 MB / 455.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.347, allocations: 12.61 kB / 455.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.347, allocations: 39.12 kB / 456 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.865e-06/0.347, allocations: 0 / 456 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.003197/0.3502, allocations: 1.722 MB / 457.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.3503, allocations: 93.73 kB / 457.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.3509, allocations: 0.5493 MB / 458.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.351, allocations: 33.7 kB / 458.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.3513, allocations: 438.8 kB / 458.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3515, allocations: 216.9 kB / 459 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3515, allocations: 20 kB / 459 MB, free: 8.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3517, allocations: 378.8 kB / 459.4 MB, free: 8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.3522, allocations: 277.8 kB / 459.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.353, allocations: 0.6114 MB / 460.3 MB, free: 6.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.3536, allocations: 393.9 kB / 460.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3536, allocations: 3.938 kB / 460.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002175/0.3558, allocations: 1.168 MB / 461.8 MB, free: 5.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.3558, allocations: 15.94 kB / 461.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001329/0.3572, allocations: 0.7027 MB / 462.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/0.3579, allocations: 218.8 kB / 462.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.3587, allocations: 219.6 kB / 463 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/0.3648, allocations: 4.997 MB / 468 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.3657, allocations: 44.05 kB / 468 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.3658, allocations: 44 kB / 468.1 MB, free: 14.74 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.0005863/0.3664, allocations: 341.4 kB / 468.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3665, allocations: 67.16 kB / 468.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.3677, allocations: 0.6538 MB / 469.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3677, allocations: 8 kB / 469.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3677, allocations: 0 / 469.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3677, allocations: 3.984 kB / 469.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.3703, allocations: 1.535 MB / 470.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3703, allocations: 0 / 470.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/0.3711, allocations: 175.8 kB / 470.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.3711, allocations: 4 kB / 470.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.3711, allocations: 24.09 kB / 470.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.3712, allocations: 7.938 kB / 470.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3712, allocations: 0 / 470.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.3728, allocations: 1.09 MB / 472 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.3731, allocations: 180.4 kB / 472.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.3732, allocations: 12 kB / 472.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3735, allocations: 27.89 kB / 472.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3736, allocations: 44.5 kB / 472.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.3737, allocations: 20 kB / 472.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.3741, allocations: 354.8 kB / 472.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3741, allocations: 4 kB / 472.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008936/0.375, allocations: 216 kB / 472.8 MB, free: 9.824 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.002111/0.3771, allocations: 2.067 MB / 474.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.379, allocations: 1.099 MB / 476 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.379, allocations: 0 / 476 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.3795, allocations: 307 kB / 476.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.3802, allocations: 146.6 kB / 476.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.3912, allocations: 12.46 MB / 488.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/0.3921, allocations: 1.092 MB / 490 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006755/0.3928, allocations: 225.6 kB / 490.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.3932, allocations: 307.3 kB / 490.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3932, allocations: 0 / 490.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.4256, allocations: 14.44 MB / 0.4931 GB, free: 9.309 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.4259, allocations: 191.9 kB / 0.4933 GB, free: 9.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.351, allocations: 0 / 0.4933 GB, free: 9.066 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: