Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001268, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001395/0.001395, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.327/1.327, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1734/0.1734, allocations: 38.04 MB / 329.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 65.98 kB / 398.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1081, allocations: 58.06 MB / 456.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007097/0.1152, allocations: 4.549 MB / 461.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.1186, allocations: 1.562 MB / 463 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.119, allocations: 15.88 kB / 463 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.1201, allocations: 286.6 kB / 463.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006601/0.1207, allocations: 262.7 kB / 463.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.1215, allocations: 259.4 kB / 463.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009898/0.1225, allocations: 0.6118 MB / 464.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005859/0.1231, allocations: 252.3 kB / 464.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.1236, allocations: 275 kB / 464.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.1242, allocations: 322.9 kB / 465.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.1243, allocations: 36 kB / 465.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.1246, allocations: 135.8 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.1249, allocations: 223.4 kB / 465.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.1253, allocations: 246.8 kB / 465.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.126, allocations: 0.5956 MB / 466.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.126, allocations: 0 / 466.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.126, allocations: 0 / 466.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.126, allocations: 0 / 466.4 MB, free: 14.45 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001356/0.1274, allocations: 0.7582 MB / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1274, allocations: 15.89 kB / 467.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006248/0.128, allocations: 92.22 kB / 467.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.1287, allocations: 403.9 kB / 467.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1287, allocations: 33.36 kB / 467.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.1288, allocations: 48.12 kB / 467.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/0.1297, allocations: 0.6638 MB / 468.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.1297, allocations: 11.94 kB / 468.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.1298, allocations: 19.98 kB / 468.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/0.13, allocations: 48.97 kB / 468.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.1309, allocations: 491.5 kB / 469 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.1344, allocations: 3.159 MB / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.1348, allocations: 245.3 kB / 472.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.135, allocations: 121.7 kB / 472.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.135, allocations: 11.86 kB / 472.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1351, allocations: 38.56 kB / 472.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.815e-06/0.1351, allocations: 3.938 kB / 472.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001414/0.1365, allocations: 0.8856 MB / 473.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1366, allocations: 89.17 kB / 473.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.1369, allocations: 332.4 kB / 473.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.137, allocations: 29.7 kB / 473.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1371, allocations: 287 kB / 474.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.493e-05/0.1372, allocations: 94.73 kB / 474.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1374, allocations: 86.03 kB / 474.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1375, allocations: 346.7 kB / 474.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.1377, allocations: 136.8 kB / 474.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1381, allocations: 321.6 kB / 475.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.1387, allocations: 0.505 MB / 475.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1387, allocations: 0 / 475.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0011/0.1398, allocations: 0.5842 MB / 476.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1399, allocations: 8 kB / 476.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006252/0.1405, allocations: 334 kB / 476.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004229/0.1409, allocations: 109.6 kB / 476.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.1412, allocations: 91.83 kB / 476.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.1442, allocations: 3.285 MB / 480.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1445, allocations: 20 kB / 480.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1445, allocations: 20 kB / 480.1 MB, free: 15.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002725/0.1448, allocations: 213.6 kB / 480.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.1449, allocations: 31.62 kB / 480.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005346/0.1454, allocations: 321 kB / 480.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1454, allocations: 0 / 480.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1455, allocations: 7.938 kB / 480.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1455, allocations: 0 / 480.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1466, allocations: 0.8004 MB / 481.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1466, allocations: 4 kB / 481.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.147, allocations: 67.95 kB / 481.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.147, allocations: 7.938 kB / 481.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.147, allocations: 4 kB / 481.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.147, allocations: 4 kB / 481.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.147, allocations: 0 / 481.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.1477, allocations: 0.5015 MB / 482 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1478, allocations: 140.5 kB / 482.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.1479, allocations: 8 kB / 482.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.1481, allocations: 7.984 kB / 482.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1481, allocations: 16.22 kB / 482.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1481, allocations: 7.984 kB / 482.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.1484, allocations: 223.1 kB / 482.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1484, allocations: 0 / 482.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.1489, allocations: 99.94 kB / 482.5 MB, free: 13.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.000118/0.149, allocations: 119.1 kB / 482.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.1501, allocations: 0.6052 MB / 483.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1501, allocations: 4 kB / 483.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1503, allocations: 130.1 kB / 483.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.1508, allocations: 81.81 kB / 483.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.1525, allocations: 0.9973 MB / 484.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.153, allocations: 0.8621 MB / 485.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.1534, allocations: 115.2 kB / 485.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.1535, allocations: 31.42 kB / 485.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1535, allocations: 4 kB / 485.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Templates: time 0.009155/0.1626, allocations: 3.79 MB / 489.3 MB, free: 6.484 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches