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.001219/0.001219, allocations: 91.25 kB / 16.3 MB, free: 5.996 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.00137/0.00137, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.329/1.329, allocations: 223.2 MB / 241.1 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.311/0.311, allocations: 38.07 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003429, allocations: 8 kB / 400.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 59.15 MB / 459.2 MB, free: 30.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006336/0.2741, allocations: 6.543 MB / 465.8 MB, free: 25.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.2782, allocations: 2.231 MB / 468 MB, free: 24.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.2793, allocations: 38.56 kB / 468 MB, free: 24.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.2799, allocations: 132.9 kB / 468.2 MB, free: 24.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.282, allocations: 471.7 kB / 468.6 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2831, allocations: 262.3 kB / 468.9 MB, free: 23.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008884/0.284, allocations: 0.5584 MB / 469.4 MB, free: 23.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.2853, allocations: 0.9111 MB / 470.3 MB, free: 22.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.2859, allocations: 371.4 kB / 470.7 MB, free: 22.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.2865, allocations: 403.4 kB / 471.1 MB, free: 22.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.216e-05/0.2866, allocations: 35.19 kB / 471.1 MB, free: 22.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.2871, allocations: 216.5 kB / 471.3 MB, free: 22.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.2876, allocations: 414.8 kB / 471.7 MB, free: 22.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.2878, allocations: 196.1 kB / 471.9 MB, free: 22.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2889, allocations: 0.8739 MB / 472.8 MB, free: 22.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2889, allocations: 0 / 472.8 MB, free: 22.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2889, allocations: 1.406 kB / 472.8 MB, free: 22.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2889, allocations: 0 / 472.8 MB, free: 22.18 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.001685/0.2906, allocations: 1.053 MB / 473.9 MB, free: 21.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2906, allocations: 9.625 kB / 473.9 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.2908, allocations: 144.5 kB / 474 MB, free: 21.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.2917, allocations: 165.6 kB / 474.2 MB, free: 21.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.2928, allocations: 0.58 MB / 474.8 MB, free: 20.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.2928, allocations: 72.19 kB / 474.8 MB, free: 20.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.293, allocations: 101 kB / 474.9 MB, free: 20.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.2945, allocations: 1.137 MB / 476.1 MB, free: 20.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.2946, allocations: 10.27 kB / 476.1 MB, free: 20.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.2947, allocations: 32.91 kB / 476.1 MB, free: 20.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.2948, allocations: 82.17 kB / 476.2 MB, free: 20.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.2963, allocations: 1.006 MB / 477.2 MB, free: 19.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/0.3008, allocations: 4.356 MB / 481.5 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.3019, allocations: 0.6249 MB / 482.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.3019, allocations: 11.02 kB / 482.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.302, allocations: 42.38 kB / 482.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.154e-06/0.302, allocations: 0 / 482.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.002527/0.3045, allocations: 1.731 MB / 484 MB, free: 14.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.3046, allocations: 84.42 kB / 484 MB, free: 14.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.305, allocations: 0.5453 MB / 484.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.305, allocations: 41.7 kB / 484.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3052, allocations: 434.8 kB / 485.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3053, allocations: 228.9 kB / 485.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3054, allocations: 20 kB / 485.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.3055, allocations: 374.8 kB / 485.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.3058, allocations: 277.8 kB / 485.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.3063, allocations: 0.6153 MB / 486.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.3067, allocations: 389.9 kB / 486.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3068, allocations: 4 kB / 486.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001628/0.3084, allocations: 1.168 MB / 488.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3084, allocations: 12 kB / 488.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001051/0.3095, allocations: 0.7105 MB / 488.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.3101, allocations: 214.5 kB / 489 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.3108, allocations: 223.6 kB / 489.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.314, allocations: 4.982 MB / 494.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.3145, allocations: 32 kB / 494.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.3145, allocations: 39.98 kB / 494.3 MB, free: 3.781 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.0004062/0.3149, allocations: 355.3 kB / 494.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.315, allocations: 67.14 kB / 494.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.3159, allocations: 0.6537 MB / 495.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3159, allocations: 12 kB / 495.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.3159, allocations: 0 / 495.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3159, allocations: 3.984 kB / 495.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.3179, allocations: 1.532 MB / 496.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3179, allocations: 4 kB / 496.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.3187, allocations: 171.8 kB / 497.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3187, allocations: 4 kB / 497.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.3187, allocations: 23.98 kB / 497.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3187, allocations: 7.953 kB / 497.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3187, allocations: 4.094 kB / 497.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3199, allocations: 1.086 MB / 498.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.3202, allocations: 180.3 kB / 498.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.3203, allocations: 19.98 kB / 498.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.3206, allocations: 16 kB / 498.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3207, allocations: 56.44 kB / 498.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.3207, allocations: 16 kB / 498.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.3211, allocations: 358.8 kB / 498.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3211, allocations: 0 / 498.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008128/0.3219, allocations: 220 kB / 499.1 MB, free: 14.85 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.002065/0.324, allocations: 2.067 MB / 0.4894 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.3257, allocations: 1.103 MB / 0.4905 GB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3257, allocations: 64 / 0.4905 GB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005486/0.3263, allocations: 311 kB / 0.4908 GB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.3269, allocations: 134.8 kB / 0.4909 GB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.3378, allocations: 12.46 MB / 0.5031 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.3391, allocations: 1.088 MB / 0.5041 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006561/0.3397, allocations: 225.5 kB / 0.5043 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.3401, allocations: 307.3 kB / 0.5046 GB, free: 12.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3402, allocations: 0 / 0.5046 GB, free: 12.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3704, allocations: 14.45 MB / 0.5187 GB, free: 14.48 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.3706, allocations: 200.2 kB / 0.5189 GB, free: 14.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.314, allocations: 0 / 0.5189 GB, free: 14.24 MB / 398.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