Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001131/0.001131, allocations: 191 kB / 18.63 MB, free: 4.375 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.413/1.413, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1947/0.1947, allocations: 38.04 MB / 330.5 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 63.67 kB / 400.3 MB, free: 33.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1253, allocations: 58.06 MB / 458.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006874/0.1322, allocations: 4.568 MB / 462.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.1349, allocations: 1.476 MB / 464.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.1352, allocations: 15.88 kB / 464.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.1364, allocations: 377.6 kB / 464.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000574/0.137, allocations: 234.8 kB / 465 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.1378, allocations: 255.4 kB / 465.2 MB, free: 428 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.1387, allocations: 0.5689 MB / 465.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005167/0.1392, allocations: 330.5 kB / 466.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.1395, allocations: 258.9 kB / 466.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.14, allocations: 311 kB / 466.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/0.1401, allocations: 36 kB / 466.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.1404, allocations: 139.8 kB / 466.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.1406, allocations: 223.4 kB / 467.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.1409, allocations: 246.8 kB / 467.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.1415, allocations: 0.5996 MB / 467.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1415, allocations: 0 / 467.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1416, allocations: 4 kB / 467.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1416, allocations: 0 / 467.9 MB, free: 13.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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001397/0.143, allocations: 0.7621 MB / 468.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.143, allocations: 11.89 kB / 468.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.1436, allocations: 100.2 kB / 468.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.1443, allocations: 420 kB / 469.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.1444, allocations: 29.38 kB / 469.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1445, allocations: 56.11 kB / 469.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/0.1454, allocations: 0.6478 MB / 469.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1455, allocations: 3.938 kB / 469.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.1455, allocations: 20 kB / 469.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.1456, allocations: 32.98 kB / 470 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000746/0.1464, allocations: 483.5 kB / 470.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.1498, allocations: 3.01 MB / 473.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1502, allocations: 181 kB / 473.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.1504, allocations: 105.7 kB / 473.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.1504, allocations: 15.97 kB / 473.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1505, allocations: 38.56 kB / 473.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.1505, allocations: 0 / 473.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001697/0.1522, allocations: 0.8343 MB / 474.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.1523, allocations: 85.06 kB / 474.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.1527, allocations: 349.7 kB / 475.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1528, allocations: 29.7 kB / 475.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.153, allocations: 302.9 kB / 475.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.1531, allocations: 78.98 kB / 475.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.1532, allocations: 85.94 kB / 475.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1534, allocations: 346.8 kB / 475.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.1536, allocations: 124.8 kB / 476 MB, free: 5.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.1541, allocations: 334.8 kB / 476.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.1548, allocations: 0.5008 MB / 476.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1548, allocations: 0 / 476.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001038/0.1558, allocations: 0.5558 MB / 477.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1559, allocations: 8.812 kB / 477.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005283/0.1564, allocations: 282.9 kB / 477.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.1568, allocations: 80.78 kB / 477.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.1571, allocations: 95.83 kB / 477.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.1588, allocations: 1.719 MB / 479.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1591, allocations: 19.98 kB / 479.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.1591, allocations: 24 kB / 479.6 MB, free: 1.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.1594, allocations: 225.5 kB / 479.8 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/0.1594, allocations: 35.53 kB / 479.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.1599, allocations: 284.8 kB / 480.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.16, allocations: 11.92 kB / 480.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.16, allocations: 0 / 480.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.16, allocations: 0 / 480.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1612, allocations: 0.7988 MB / 480.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1612, allocations: 0 / 480.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.1615, allocations: 59.91 kB / 481 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1615, allocations: 0 / 481 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1616, allocations: 4 kB / 481 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.1616, allocations: 15.97 kB / 481 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1616, allocations: 3.938 kB / 481 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.1621, allocations: 484.7 kB / 481.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.1622, allocations: 104.8 kB / 481.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1623, allocations: 8 kB / 481.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1625, allocations: 15.92 kB / 481.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1625, allocations: 11.98 kB / 481.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1626, allocations: 12 kB / 481.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.1628, allocations: 231.2 kB / 481.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1628, allocations: 0 / 481.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004727/0.1633, allocations: 100 kB / 482 MB, free: 14.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0001372/0.1634, allocations: 107.2 kB / 482.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007994/0.1642, allocations: 439 kB / 482.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1642, allocations: 0 / 482.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1644, allocations: 115.8 kB / 482.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.165, allocations: 70.08 kB / 482.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1667, allocations: 0.9799 MB / 483.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.1672, allocations: 0.87 MB / 484.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002657/0.1675, allocations: 107.2 kB / 484.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.1676, allocations: 35.42 kB / 484.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1676, allocations: 0 / 484.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Templates: time 0.008297/0.1759, allocations: 3.522 MB / 488.2 MB, free: 8.453 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches