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.001065/0.001065, allocations: 104.1 kB / 16.51 MB, free: 6.699 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.001223/0.001223, allocations: 194.4 kB / 17.42 MB, free: 6.09 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.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1809/0.1809, allocations: 38.04 MB / 329.3 MB, free: 9.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 58.14 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 58.06 MB / 456.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.008124/0.1245, allocations: 5.224 MB / 461.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.1278, allocations: 1.659 MB / 463 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006211/0.1285, allocations: 23.88 kB / 463.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.1297, allocations: 370.6 kB / 463.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007199/0.1304, allocations: 215 kB / 463.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.1312, allocations: 231.6 kB / 463.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009932/0.1322, allocations: 0.8381 MB / 464.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.1328, allocations: 314.4 kB / 465 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005334/0.1334, allocations: 231 kB / 465.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.1341, allocations: 327 kB / 465.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.673e-05/0.1342, allocations: 24 kB / 465.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.1346, allocations: 151.7 kB / 465.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.1348, allocations: 215.5 kB / 465.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.1352, allocations: 238.7 kB / 466.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.1358, allocations: 0.5762 MB / 466.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1359, allocations: 3.938 kB / 466.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1359, allocations: 0 / 466.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.1359, allocations: 0 / 466.8 MB, free: 13.88 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.001544/0.1374, allocations: 0.766 MB / 467.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1375, allocations: 12.02 kB / 467.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/0.1382, allocations: 96.22 kB / 467.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.1388, allocations: 400 kB / 468 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1388, allocations: 33.36 kB / 468 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.139, allocations: 56.12 kB / 468.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.14, allocations: 0.6411 MB / 468.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.14, allocations: 7.938 kB / 468.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.1401, allocations: 16 kB / 468.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.1402, allocations: 28.98 kB / 468.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.141, allocations: 491.5 kB / 469.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.1445, allocations: 3.01 MB / 472.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1449, allocations: 189 kB / 472.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1451, allocations: 101.7 kB / 472.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.1451, allocations: 8 kB / 472.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1451, allocations: 34.56 kB / 472.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.1452, allocations: 0 / 472.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001523/0.1467, allocations: 0.838 MB / 473.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1467, allocations: 85.06 kB / 473.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1471, allocations: 349.4 kB / 473.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.1471, allocations: 29.7 kB / 473.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.1474, allocations: 303 kB / 474.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.1475, allocations: 78.91 kB / 474.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1476, allocations: 82.03 kB / 474.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1478, allocations: 350.9 kB / 474.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.148, allocations: 124.8 kB / 474.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.1484, allocations: 334.8 kB / 475.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.149, allocations: 0.4969 MB / 475.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.149, allocations: 4 kB / 475.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001077/0.1501, allocations: 0.5603 MB / 476.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1501, allocations: 8 kB / 476.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005425/0.1507, allocations: 275.9 kB / 476.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.1511, allocations: 84.77 kB / 476.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.1514, allocations: 95.83 kB / 476.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.1532, allocations: 1.597 MB / 478.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.1534, allocations: 19.98 kB / 478.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.1535, allocations: 28.06 kB / 478.3 MB, free: 1.523 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.0002765/0.1538, allocations: 221.5 kB / 478.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.1539, allocations: 35.47 kB / 478.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.1544, allocations: 284.7 kB / 478.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1544, allocations: 0 / 478.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1544, allocations: 4 kB / 478.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1544, allocations: 7.984 kB / 478.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.1556, allocations: 0.7905 MB / 479.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1556, allocations: 4 kB / 479.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.156, allocations: 51.97 kB / 479.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.156, allocations: 7.938 kB / 479.7 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.156, allocations: 4 kB / 479.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.156, allocations: 4.062 kB / 479.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.156, allocations: 0 / 479.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.1566, allocations: 485.2 kB / 480.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.1567, allocations: 104.8 kB / 480.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.1568, allocations: 16.02 kB / 480.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.157, allocations: 8 kB / 480.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.157, allocations: 19.91 kB / 480.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.157, allocations: 12 kB / 480.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.1573, allocations: 231.2 kB / 480.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1573, allocations: 0 / 480.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.1578, allocations: 96 kB / 480.7 MB, free: 15.05 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.0001415/0.158, allocations: 111.1 kB / 480.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.1588, allocations: 447 kB / 481.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1588, allocations: 0 / 481.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.159, allocations: 116.4 kB / 481.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.1596, allocations: 67.75 kB / 481.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1615, allocations: 1.166 MB / 482.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.1621, allocations: 0.8665 MB / 483.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.1624, allocations: 111.2 kB / 483.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.1625, allocations: 31.38 kB / 483.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1625, allocations: 0 / 483.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.008041/0.1706, allocations: 3.377 MB / 486.9 MB, free: 8.711 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