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.001103/0.001103, allocations: 110.2 kB / 16.92 MB, free: 6.332 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.001373/0.001373, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.292/1.292, allocations: 222.9 MB / 241.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1722/0.1722, allocations: 38.04 MB / 329.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 61.64 kB / 398.9 MB, free: 34.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.0924, allocations: 58.07 MB / 457 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007972/0.1004, allocations: 6.635 MB / 463.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.1037, allocations: 2.021 MB / 465.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.1041, allocations: 23.81 kB / 465.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.106, allocations: 0.7081 MB / 466.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.1073, allocations: 0.5677 MB / 466.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.1078, allocations: 243.5 kB / 467.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.109, allocations: 1.149 MB / 468.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007691/0.1098, allocations: 0.5953 MB / 468.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007149/0.1105, allocations: 0.5058 MB / 469.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008771/0.1114, allocations: 0.6229 MB / 470 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1116, allocations: 68 kB / 470.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.1121, allocations: 267.7 kB / 470.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.1125, allocations: 486.8 kB / 470.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.1131, allocations: 493.5 kB / 471.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1142, allocations: 1.156 MB / 472.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1143, allocations: 0 / 472.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1143, allocations: 4 kB / 472.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.1143, allocations: 0 / 472.5 MB, free: 8.41 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.002071/0.1164, allocations: 1.21 MB / 473.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1164, allocations: 15.89 kB / 473.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.1166, allocations: 147.9 kB / 473.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.1175, allocations: 163.5 kB / 474 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009502/0.1185, allocations: 0.5889 MB / 474.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.1186, allocations: 62.38 kB / 474.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.1188, allocations: 107.8 kB / 474.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.1204, allocations: 1.157 MB / 475.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1204, allocations: 0 / 475.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.1205, allocations: 35.98 kB / 476 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.1207, allocations: 93.83 kB / 476.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.1223, allocations: 0.999 MB / 477.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/0.1273, allocations: 4.37 MB / 481.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1285, allocations: 0.6295 MB / 482 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.129, allocations: 309.4 kB / 482.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1291, allocations: 4.562 kB / 482.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1291, allocations: 39.12 kB / 482.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.083e-06/0.1291, allocations: 0 / 482.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002912/0.132, allocations: 1.745 MB / 484.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1321, allocations: 89.66 kB / 484.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.1327, allocations: 0.5454 MB / 484.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.1327, allocations: 37.7 kB / 484.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.133, allocations: 434.8 kB / 485.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.1332, allocations: 220.9 kB / 485.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.1334, allocations: 186.6 kB / 485.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1336, allocations: 382.8 kB / 486 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.134, allocations: 281.8 kB / 486.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.1347, allocations: 0.6075 MB / 486.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.136, allocations: 0.973 MB / 487.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.136, allocations: 4 kB / 487.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002126/0.1381, allocations: 1.18 MB / 489 MB, free: 6.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1381, allocations: 14.03 kB / 489.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001266/0.1394, allocations: 0.7105 MB / 489.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007175/0.1401, allocations: 218.8 kB / 490 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.1409, allocations: 219.6 kB / 490.2 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/0.1457, allocations: 5.377 MB / 495.6 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/0.1465, allocations: 32.03 kB / 495.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.1467, allocations: 44.06 kB / 495.6 MB, free: 15.95 MB / 382.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.000806/0.1475, allocations: 353.3 kB / 496 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.1477, allocations: 67.09 kB / 496.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.1488, allocations: 0.65 MB / 496.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.1488, allocations: 8 kB / 496.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1488, allocations: 0 / 496.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.1488, allocations: 11.98 kB / 496.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.1514, allocations: 1.535 MB / 498.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1515, allocations: 7.938 kB / 498.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.1522, allocations: 179.7 kB / 498.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.1522, allocations: 4 kB / 498.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.1523, allocations: 16 kB / 498.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1523, allocations: 4.156 kB / 498.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1523, allocations: 4 kB / 498.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.1537, allocations: 1.029 MB / 499.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.1539, allocations: 172.4 kB / 499.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.1541, allocations: 19.98 kB / 499.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.1544, allocations: 12 kB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1545, allocations: 56.42 kB / 499.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.1545, allocations: 16 kB / 499.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004041/0.1549, allocations: 358.8 kB / 0.4884 GB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1549, allocations: 0 / 0.4884 GB, free: 11.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009776/0.1559, allocations: 224 kB / 0.4886 GB, free: 11.11 MB / 382.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.001621/0.1576, allocations: 1.595 MB / 0.4902 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.1596, allocations: 1.285 MB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1596, allocations: 4 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.16, allocations: 315.2 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.1608, allocations: 161.1 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/0.1705, allocations: 7.27 MB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.1713, allocations: 1.071 MB / 0.5 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006577/0.172, allocations: 233.5 kB / 0.5003 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.1724, allocations: 311.2 kB / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1724, allocations: 0 / 0.5006 GB, free: 14.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3007/0.4731, allocations: 15.19 MB / 0.5154 GB, free: 68.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.393/9.867, allocations: 7.469 kB / 0.5154 GB, free: 68.55 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/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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches