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.001509/0.001509, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001632/0.001632, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.334/1.334, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1693/0.1693, allocations: 38.03 MB / 329.4 MB, free: 9.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 61.48 kB / 398.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.122, allocations: 58.06 MB / 456.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007384/0.1295, allocations: 5.22 MB / 461.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1327, allocations: 1.648 MB / 463.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.1333, allocations: 23.88 kB / 463.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.1346, allocations: 369.6 kB / 463.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009295/0.1356, allocations: 215.1 kB / 463.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008803/0.1365, allocations: 231.6 kB / 464 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008483/0.1373, allocations: 0.5573 MB / 464.6 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007231/0.1381, allocations: 358.5 kB / 464.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.1385, allocations: 254.9 kB / 465.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.139, allocations: 338.9 kB / 465.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.1391, allocations: 32 kB / 465.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.1394, allocations: 151.8 kB / 465.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1397, allocations: 219.5 kB / 465.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.1399, allocations: 254.7 kB / 466.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.1407, allocations: 0.5919 MB / 466.8 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1407, allocations: 0 / 466.8 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1407, allocations: 0 / 466.8 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1407, allocations: 0 / 466.8 MB, free: 14 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.001382/0.1421, allocations: 0.766 MB / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1421, allocations: 15.89 kB / 467.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006417/0.1428, allocations: 100.2 kB / 467.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.1434, allocations: 400 kB / 468 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.1434, allocations: 29.38 kB / 468.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.1436, allocations: 52.11 kB / 468.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/0.1445, allocations: 0.6489 MB / 468.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1446, allocations: 7.938 kB / 468.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.1446, allocations: 16 kB / 468.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.1448, allocations: 32.98 kB / 468.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/0.1456, allocations: 479.5 kB / 469.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.1491, allocations: 3.018 MB / 472.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.1494, allocations: 181 kB / 472.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.1496, allocations: 112.5 kB / 472.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.1496, allocations: 11.98 kB / 472.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.1497, allocations: 30.56 kB / 472.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 4.379e-06/0.1497, allocations: 0 / 472.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001475/0.1512, allocations: 0.8385 MB / 473.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.1513, allocations: 85.06 kB / 473.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.1517, allocations: 353.6 kB / 473.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.1517, allocations: 29.7 kB / 473.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.152, allocations: 307 kB / 474.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.1521, allocations: 70.91 kB / 474.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1522, allocations: 90.03 kB / 474.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1524, allocations: 342.8 kB / 474.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1526, allocations: 124.8 kB / 474.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.153, allocations: 334.8 kB / 475.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.1537, allocations: 0.5008 MB / 475.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1537, allocations: 0 / 475.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001046/0.1547, allocations: 0.5559 MB / 476.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.1548, allocations: 8 kB / 476.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005264/0.1553, allocations: 279.7 kB / 476.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.1557, allocations: 80.78 kB / 476.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.156, allocations: 95.83 kB / 476.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.1577, allocations: 1.719 MB / 478.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.158, allocations: 23.91 kB / 478.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.158, allocations: 20 kB / 478.4 MB, free: 1.512 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.0002772/0.1583, allocations: 225.6 kB / 478.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.1584, allocations: 31.77 kB / 478.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.1589, allocations: 292.7 kB / 479 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.1589, allocations: 8 kB / 479 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1589, allocations: 0 / 479 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1589, allocations: 0 / 479 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.1603, allocations: 0.7982 MB / 479.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1603, allocations: 3.938 kB / 479.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.1606, allocations: 59.91 kB / 479.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1606, allocations: 3.984 kB / 479.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.1606, allocations: 4 kB / 479.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1606, allocations: 3.938 kB / 479.9 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1607, allocations: 12 kB / 479.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.1612, allocations: 482.4 kB / 480.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.1613, allocations: 100.7 kB / 480.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.1614, allocations: 11.94 kB / 480.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1616, allocations: 12.03 kB / 480.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1616, allocations: 19.92 kB / 480.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1616, allocations: 8 kB / 480.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.162, allocations: 235.2 kB / 480.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.162, allocations: 0 / 480.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.1624, allocations: 96 kB / 480.8 MB, free: 15.02 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.000139/0.1626, allocations: 103.2 kB / 480.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007757/0.1634, allocations: 475.7 kB / 481.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1634, allocations: 0 / 481.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.1636, allocations: 119 kB / 481.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.1641, allocations: 61.78 kB / 481.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.1657, allocations: 1.161 MB / 482.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.1662, allocations: 0.8739 MB / 483.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002835/0.1665, allocations: 107.2 kB / 483.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.1666, allocations: 31.44 kB / 483.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1666, allocations: 0 / 483.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Templates: time 0.007433/0.174, allocations: 3.541 MB / 487.3 MB, free: 8.504 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches