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: translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007594/0.0007595, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008906/0.0008906, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.215/1.215, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1563/0.1563, allocations: 38.09 MB / 330.8 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 8.875 kB / 400.7 MB, free: 34.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.08442, allocations: 59.17 MB / 459.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00689/0.09135, allocations: 7.232 MB / 467.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.09493, allocations: 2.322 MB / 469.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.0956, allocations: 39.75 kB / 469.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.09596, allocations: 103.2 kB / 469.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.09734, allocations: 0.537 MB / 470.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.09799, allocations: 215.7 kB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.09977, allocations: 1.804 MB / 472.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.1012, allocations: 0.9619 MB / 473.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006635/0.1019, allocations: 414 kB / 473.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009567/0.1029, allocations: 0.6074 MB / 474.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1031, allocations: 36 kB / 474.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.1036, allocations: 231.7 kB / 474.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005205/0.1042, allocations: 450.8 kB / 474.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.1047, allocations: 471.2 kB / 475.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.1058, allocations: 1.117 MB / 476.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1058, allocations: 0 / 476.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1058, allocations: 0 / 476.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.885e-05/0.1058, allocations: 4 kB / 476.4 MB, free: 6.488 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.001801/0.1076, allocations: 1.044 MB / 477.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1077, allocations: 12.03 kB / 477.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009386/0.1086, allocations: 163.6 kB / 477.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.1096, allocations: 0.5928 MB / 478.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.1096, allocations: 66.36 kB / 478.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.1099, allocations: 108.1 kB / 478.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.1115, allocations: 1.153 MB / 479.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.1115, allocations: 7.906 kB / 479.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.1116, allocations: 35.98 kB / 479.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.1118, allocations: 81.95 kB / 479.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.1133, allocations: 1.007 MB / 480.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/0.1181, allocations: 4.374 MB / 485 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1192, allocations: 0.6256 MB / 485.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/0.1196, allocations: 311.2 kB / 485.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.1197, allocations: 12.55 kB / 486 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1197, allocations: 39.12 kB / 486 MB, free: 12.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.116e-06/0.1197, allocations: 3.984 kB / 486 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002568/0.1223, allocations: 1.73 MB / 487.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1223, allocations: 97.67 kB / 487.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.1229, allocations: 0.5493 MB / 488.4 MB, free: 9.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.1229, allocations: 37.7 kB / 488.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.1232, allocations: 438.8 kB / 488.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.1233, allocations: 220.8 kB / 489.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1234, allocations: 93.67 kB / 489.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1236, allocations: 382.8 kB / 489.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.124, allocations: 281.8 kB / 489.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.1246, allocations: 0.6153 MB / 490.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.1257, allocations: 0.973 MB / 491.4 MB, free: 6.652 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1257, allocations: 0 / 491.4 MB, free: 6.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001945/0.1277, allocations: 1.176 MB / 492.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1277, allocations: 12 kB / 492.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001233/0.129, allocations: 0.7105 MB / 493.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006545/0.1296, allocations: 214.4 kB / 493.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.1303, allocations: 223.6 kB / 493.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.1342, allocations: 4.922 MB / 498.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.1347, allocations: 32 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.1347, allocations: 47.98 kB / 498.7 MB, free: 14.88 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.0003686/0.1351, allocations: 349.4 kB / 499.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.1352, allocations: 63.16 kB / 499.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009799/0.1362, allocations: 0.6499 MB / 499.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1362, allocations: 8 kB / 499.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1362, allocations: 4 kB / 499.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1362, allocations: 11.92 kB / 499.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.1384, allocations: 1.539 MB / 0.4896 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1384, allocations: 0 / 0.4896 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.1391, allocations: 171.8 kB / 0.4897 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1391, allocations: 7.938 kB / 0.4898 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.1392, allocations: 19.98 kB / 0.4898 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1392, allocations: 4 kB / 0.4898 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1392, allocations: 7.875 kB / 0.4898 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.1404, allocations: 1.022 MB / 0.4908 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.1407, allocations: 188.3 kB / 0.491 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.1407, allocations: 16 kB / 0.491 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.141, allocations: 23.92 kB / 0.491 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.1411, allocations: 48.44 kB / 0.491 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.1412, allocations: 23.98 kB / 0.4911 GB, free: 10.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003381/0.1415, allocations: 358.8 kB / 0.4914 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1415, allocations: 0 / 0.4914 GB, free: 10.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000669/0.1422, allocations: 216 kB / 0.4916 GB, free: 10.04 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.0001249/0.1423, allocations: 132 kB / 0.4917 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.1438, allocations: 1.091 MB / 0.4928 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1438, allocations: 0.8125 kB / 0.4928 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.1442, allocations: 319.3 kB / 0.4931 GB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.1451, allocations: 142.3 kB / 0.4932 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.1478, allocations: 2.4 MB / 0.4956 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.1485, allocations: 1.075 MB / 0.4966 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005699/0.149, allocations: 229.6 kB / 0.4969 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1492, allocations: 55.42 kB / 0.4969 GB, free: 4.492 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1492, allocations: 0 / 0.4969 GB, free: 4.492 MB / 382.1 MB Notification: Performance of Templates: time 0.1745/0.3237, allocations: 7.83 MB / 0.5046 GB, free: 54.2 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile Environment - environmentSimulation: (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 & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches