Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 111.7 kB / 16.62 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.00104/0.00104, allocations: 190 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.367/1.367, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1723/0.1723, allocations: 38.03 MB / 329.4 MB, free: 8.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 61.97 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1229, allocations: 58.06 MB / 456.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00676/0.1297, allocations: 4.987 MB / 461.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1319, allocations: 1.122 MB / 462.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.1324, allocations: 23.88 kB / 462.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.1326, allocations: 47.62 kB / 462.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007507/0.1334, allocations: 223.1 kB / 462.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1337, allocations: 79.91 kB / 462.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.1344, allocations: 0.5023 MB / 463.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.1347, allocations: 147.9 kB / 463.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.1352, allocations: 215.1 kB / 463.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.1357, allocations: 287 kB / 464 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.1358, allocations: 27.94 kB / 464 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.1359, allocations: 24 kB / 464 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.1361, allocations: 151.6 kB / 464.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.1363, allocations: 179.1 kB / 464.3 MB, free: 404 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.1368, allocations: 362.7 kB / 464.7 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1369, allocations: 0 / 464.7 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1369, allocations: 0 / 464.7 MB, free: 40 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1369, allocations: 0 / 464.7 MB, free: 40 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001453/0.1384, allocations: 0.6672 MB / 465.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1384, allocations: 15.89 kB / 465.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1385, allocations: 40.41 kB / 465.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.1391, allocations: 355.8 kB / 465.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1391, allocations: 20.69 kB / 465.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.1392, allocations: 28 kB / 465.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.1397, allocations: 352.7 kB / 466.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1398, allocations: 3.938 kB / 466.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1398, allocations: 12 kB / 466.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.1399, allocations: 24.53 kB / 466.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.1403, allocations: 234 kB / 466.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.1422, allocations: 1.382 MB / 467.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.1425, allocations: 169.1 kB / 468 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.1427, allocations: 101.7 kB / 468.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1428, allocations: 0 / 468.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1428, allocations: 42.5 kB / 468.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1428, allocations: 0 / 468.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001586/0.1444, allocations: 0.7543 MB / 468.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1445, allocations: 85.05 kB / 468.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.1448, allocations: 300.5 kB / 469.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1449, allocations: 33.7 kB / 469.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.1451, allocations: 215.5 kB / 469.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.1451, allocations: 51.34 kB / 469.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1452, allocations: 49.61 kB / 469.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1454, allocations: 338.8 kB / 469.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1455, allocations: 63.95 kB / 470 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.1457, allocations: 168.8 kB / 470.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.1461, allocations: 252.6 kB / 470.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1461, allocations: 4 kB / 470.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005542/0.1467, allocations: 321.1 kB / 470.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1467, allocations: 11.94 kB / 470.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1467, allocations: 0 / 470.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.147, allocations: 52.81 kB / 470.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1472, allocations: 51.91 kB / 470.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.149, allocations: 1.609 MB / 472.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1491, allocations: 15.89 kB / 472.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1491, allocations: 16 kB / 472.5 MB, free: 7.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.1494, allocations: 169.7 kB / 472.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.1494, allocations: 23.72 kB / 472.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1498, allocations: 244.3 kB / 472.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1499, allocations: 7.984 kB / 472.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1499, allocations: 3.984 kB / 472.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1499, allocations: 4 kB / 472.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008608/0.1508, allocations: 0.6366 MB / 473.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1508, allocations: 0 / 473.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1509, allocations: 27.92 kB / 473.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.1511, allocations: 56.83 kB / 473.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1511, allocations: 7.984 kB / 473.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.1527, allocations: 1.605 MB / 475.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1527, allocations: 0 / 475.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.1533, allocations: 405.6 kB / 475.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1534, allocations: 108.7 kB / 475.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.1535, allocations: 8 kB / 475.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1536, allocations: 4 kB / 475.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.1537, allocations: 15.97 kB / 475.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.1537, allocations: 4 kB / 475.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.154, allocations: 211.1 kB / 476 MB, free: 3.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.154, allocations: 4.062 kB / 476 MB, free: 3.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004373/0.1544, allocations: 68 kB / 476 MB, free: 3.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.1546, allocations: 99.25 kB / 476.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.1553, allocations: 319.3 kB / 476.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1553, allocations: 3.938 kB / 476.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.1557, allocations: 201.7 kB / 476.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.1563, allocations: 76.69 kB / 476.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1582, allocations: 0.8691 MB / 477.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.1588, allocations: 0.8104 MB / 478.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.159, allocations: 42.95 kB / 478.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.159, allocations: 23.42 kB / 478.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.159, allocations: 0 / 478.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Templates: time 0.007018/0.166, allocations: 2.942 MB / 481.4 MB, free: 14.36 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches