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.0008559/0.0008559, allocations: 98.23 kB / 16.3 MB, free: 5.551 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.0009081/0.0009081, allocations: 182.6 kB / 17.2 MB, free: 5.484 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.191/1.191, allocations: 223.2 MB / 241.1 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1576/0.1576, allocations: 38.08 MB / 330.3 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002624, allocations: 12 kB / 400 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08752/0.0878, allocations: 59.17 MB / 459.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005198/0.09304, allocations: 4.412 MB / 463.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.09612, allocations: 1.66 MB / 465.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.09643, allocations: 23.81 kB / 465.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.09665, allocations: 75.5 kB / 465.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007219/0.09738, allocations: 239.2 kB / 465.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.09811, allocations: 239.5 kB / 465.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.0986, allocations: 315.8 kB / 466.1 MB, free: 420 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.09929, allocations: 450.8 kB / 466.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.09956, allocations: 195.3 kB / 466.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.09989, allocations: 215.3 kB / 466.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.09994, allocations: 16 kB / 466.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.1002, allocations: 91.84 kB / 467 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.1003, allocations: 187.5 kB / 467.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.536e-05/0.1004, allocations: 109.5 kB / 467.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1008, allocations: 446.9 kB / 467.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1009, allocations: 0 / 467.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1009, allocations: 7.938 kB / 467.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1009, allocations: 0 / 467.8 MB, free: 14.68 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.001168/0.1021, allocations: 0.6801 MB / 468.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1021, allocations: 8.031 kB / 468.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005892/0.1027, allocations: 103.2 kB / 468.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.1033, allocations: 394.8 kB / 468.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.1033, allocations: 29 kB / 469 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.1035, allocations: 51.97 kB / 469 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.1043, allocations: 0.6482 MB / 469.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1043, allocations: 4 kB / 469.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.1044, allocations: 16 kB / 469.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.1045, allocations: 52.97 kB / 469.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.1052, allocations: 487.4 kB / 470.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.1081, allocations: 3.167 MB / 473.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.1085, allocations: 241.9 kB / 473.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1086, allocations: 8.25 kB / 473.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1086, allocations: 30.75 kB / 473.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.1086, allocations: 0 / 473.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001262/0.1099, allocations: 0.8979 MB / 474.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.11, allocations: 77.11 kB / 474.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1103, allocations: 332.5 kB / 474.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1103, allocations: 29.7 kB / 475 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1105, allocations: 299 kB / 475.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.1105, allocations: 86.83 kB / 475.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.1106, allocations: 8 kB / 475.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1107, allocations: 338.8 kB / 475.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.1109, allocations: 136.8 kB / 475.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.1112, allocations: 321.1 kB / 476.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1114, allocations: 192.5 kB / 476.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1114, allocations: 0 / 476.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009671/0.1124, allocations: 0.608 MB / 476.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1124, allocations: 8 kB / 476.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005538/0.113, allocations: 321.4 kB / 477.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.1134, allocations: 117.6 kB / 477.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1137, allocations: 91.83 kB / 477.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.1162, allocations: 3.054 MB / 480.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1165, allocations: 27.97 kB / 480.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.1165, allocations: 20 kB / 480.6 MB, free: 1.031 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.1167, allocations: 217.7 kB / 480.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.1168, allocations: 39.48 kB / 480.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.1173, allocations: 312.7 kB / 481.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1173, allocations: 4 kB / 481.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1173, allocations: 0 / 481.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1173, allocations: 3.984 kB / 481.1 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.1183, allocations: 0.8044 MB / 481.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1183, allocations: 3.938 kB / 481.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1186, allocations: 59.91 kB / 482 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1187, allocations: 0 / 482 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1187, allocations: 11.98 kB / 482 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1187, allocations: 4 kB / 482 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1187, allocations: 0 / 482 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.1193, allocations: 0.5413 MB / 482.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1194, allocations: 128.7 kB / 482.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1195, allocations: 12 kB / 482.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1196, allocations: 11.98 kB / 482.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1197, allocations: 19.94 kB / 482.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1197, allocations: 8 kB / 482.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.1199, allocations: 223 kB / 482.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1199, allocations: 0 / 482.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.1203, allocations: 96 kB / 483 MB, free: 14.41 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 (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.0001064/0.1204, allocations: 103.2 kB / 483.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007724/0.1212, allocations: 0.5767 MB / 483.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1212, allocations: 3.938 kB / 483.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.1214, allocations: 132.2 kB / 483.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1218, allocations: 53.41 kB / 483.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1232, allocations: 1.222 MB / 485.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.1237, allocations: 0.8818 MB / 486 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.124, allocations: 111.2 kB / 486.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.124, allocations: 27.44 kB / 486.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.124, allocations: 0 / 486.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.006373/0.1304, allocations: 3.536 MB / 489.7 MB, free: 7.703 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches