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.00118/0.001181, allocations: 97.69 kB / 16.3 MB, free: 5.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.00112/0.00112, allocations: 181.9 kB / 17.2 MB, free: 5.469 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.242/1.242, allocations: 223.2 MB / 241.1 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1598/0.1598, allocations: 38.08 MB / 330.3 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 8 kB / 400 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1064, allocations: 59.17 MB / 459.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006393/0.1129, allocations: 6.54 MB / 465.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1161, allocations: 2.229 MB / 467.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.1164, allocations: 35.75 kB / 467.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.1167, allocations: 139.1 kB / 468.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009307/0.1176, allocations: 470.6 kB / 468.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.1181, allocations: 263.4 kB / 468.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.1187, allocations: 0.5535 MB / 469.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.1199, allocations: 0.9153 MB / 470.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.1204, allocations: 366.7 kB / 470.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005021/0.1209, allocations: 402.7 kB / 471 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.121, allocations: 36 kB / 471 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.1213, allocations: 219.7 kB / 471.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.1217, allocations: 415 kB / 471.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1218, allocations: 189.2 kB / 471.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007129/0.1226, allocations: 0.8845 MB / 472.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1226, allocations: 4 kB / 472.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1226, allocations: 0 / 472.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1226, allocations: 0 / 472.7 MB, free: 9.73 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.001702/0.1243, allocations: 1.051 MB / 473.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1243, allocations: 8.031 kB / 473.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000856/0.1252, allocations: 162.7 kB / 473.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009875/0.1262, allocations: 0.5839 MB / 474.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/0.1263, allocations: 69.97 kB / 474.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.1265, allocations: 99.91 kB / 474.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1279, allocations: 1.137 MB / 475.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.128, allocations: 11.84 kB / 475.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.1281, allocations: 32 kB / 475.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.1282, allocations: 89.94 kB / 476 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.1297, allocations: 0.9951 MB / 477 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.1348, allocations: 4.366 MB / 481.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1358, allocations: 0.6153 MB / 481.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1359, allocations: 12.58 kB / 482 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1359, allocations: 43.12 kB / 482 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 2.625e-06/0.1359, allocations: 0 / 482 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=64): time 0.002594/0.1385, allocations: 1.726 MB / 483.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1386, allocations: 85.67 kB / 483.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.1391, allocations: 0.5454 MB / 484.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.1392, allocations: 37.7 kB / 484.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.1395, allocations: 438.9 kB / 484.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.1397, allocations: 224.8 kB / 485 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.1397, allocations: 20 kB / 485.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1399, allocations: 378.8 kB / 485.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.1403, allocations: 281.8 kB / 485.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.1409, allocations: 0.5997 MB / 486.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.1414, allocations: 401.9 kB / 486.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1414, allocations: 4 kB / 486.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001906/0.1434, allocations: 1.161 MB / 487.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1434, allocations: 12 kB / 487.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001225/0.1446, allocations: 0.7105 MB / 488.6 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006694/0.1453, allocations: 222.3 kB / 488.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.146, allocations: 211.7 kB / 489 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.1501, allocations: 4.989 MB / 494 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.1506, allocations: 35.94 kB / 494 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.1506, allocations: 48.27 kB / 494.1 MB, free: 3.27 MB / 366.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.0004162/0.1511, allocations: 357.3 kB / 494.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.1512, allocations: 67.16 kB / 494.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/0.1521, allocations: 0.6498 MB / 495.1 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1522, allocations: 8 kB / 495.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1522, allocations: 4 kB / 495.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1522, allocations: 7.984 kB / 495.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.1545, allocations: 1.536 MB / 496.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1545, allocations: 0 / 496.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.1552, allocations: 175.8 kB / 496.9 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1552, allocations: 4 kB / 496.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.1553, allocations: 19.98 kB / 496.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1553, allocations: 4 kB / 496.9 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1553, allocations: 7.953 kB / 496.9 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1566, allocations: 1.079 MB / 498 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.1568, allocations: 188.2 kB / 498.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.1569, allocations: 12 kB / 498.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.1572, allocations: 19.98 kB / 498.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1573, allocations: 48.45 kB / 498.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.1574, allocations: 27.98 kB / 498.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003376/0.1577, allocations: 358.8 kB / 498.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 0 / 498.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007592/0.1585, allocations: 216 kB / 498.8 MB, free: 14.34 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 (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.0001731/0.1587, allocations: 124 kB / 499 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1602, allocations: 1.096 MB / 0.4883 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1602, allocations: 4 kB / 0.4883 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.1606, allocations: 311 kB / 0.4886 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.1612, allocations: 139.2 kB / 0.4888 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.164, allocations: 2.342 MB / 0.491 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/0.1647, allocations: 1.092 MB / 0.4921 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005435/0.1652, allocations: 233.6 kB / 0.4923 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1654, allocations: 55.42 kB / 0.4924 GB, free: 8.84 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1654, allocations: 0 / 0.4924 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01319/0.1786, allocations: 7.596 MB / 0.4998 GB, free: 1.285 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