Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 101.8 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.001113/0.001113, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1755/0.1755, allocations: 38.03 MB / 329.4 MB, free: 9.059 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.84 kB / 398.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 58.06 MB / 456.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008379/0.1289, allocations: 6.544 MB / 462.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.132, allocations: 1.617 MB / 464.5 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006542/0.1326, allocations: 39.75 kB / 464.6 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.1333, allocations: 119.3 kB / 464.7 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.1345, allocations: 342.6 kB / 465 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1349, allocations: 115.9 kB / 465.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.136, allocations: 0.7515 MB / 465.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.1364, allocations: 200.1 kB / 466.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.137, allocations: 334.6 kB / 466.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006843/0.1377, allocations: 414.6 kB / 466.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.1378, allocations: 36 kB / 466.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1379, allocations: 36 kB / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.1382, allocations: 187.5 kB / 467.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.1385, allocations: 254.7 kB / 467.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.139, allocations: 0.5177 MB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.139, allocations: 3.938 kB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.139, allocations: 4 kB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.139, allocations: 3.938 kB / 467.8 MB, free: 12.9 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001501/0.1406, allocations: 0.7969 MB / 468.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1406, allocations: 12.03 kB / 468.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.1408, allocations: 52.28 kB / 468.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.1415, allocations: 456.5 kB / 469.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.1416, allocations: 36.94 kB / 469.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.1416, allocations: 40 kB / 469.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.1424, allocations: 0.4961 MB / 469.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1425, allocations: 0 / 469.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.1425, allocations: 16 kB / 469.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.1425, allocations: 24.94 kB / 469.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.1431, allocations: 371.6 kB / 470.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.1458, allocations: 2.083 MB / 472.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.1463, allocations: 241.2 kB / 472.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.1465, allocations: 135.6 kB / 472.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1466, allocations: 4 kB / 472.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1466, allocations: 34.56 kB / 472.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.1466, allocations: 0 / 472.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001323/0.1479, allocations: 0.7678 MB / 473.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.148, allocations: 77.11 kB / 473.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.1484, allocations: 385.4 kB / 473.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1484, allocations: 29.7 kB / 473.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.1487, allocations: 295 kB / 474.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.1487, allocations: 78.84 kB / 474.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.1489, allocations: 78.05 kB / 474.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1491, allocations: 354.8 kB / 474.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1492, allocations: 84.81 kB / 474.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1495, allocations: 281.2 kB / 475 MB, free: 5.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.1499, allocations: 407.2 kB / 475.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1499, allocations: 0 / 475.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007674/0.1507, allocations: 453.2 kB / 475.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1507, allocations: 8 kB / 475.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1508, allocations: 4.719 kB / 475.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.151, allocations: 60.77 kB / 475.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.1512, allocations: 75.91 kB / 476 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.1528, allocations: 1.618 MB / 477.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.1531, allocations: 19.91 kB / 477.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.1531, allocations: 20 kB / 477.6 MB, free: 2.359 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: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.1534, allocations: 205.7 kB / 477.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.1535, allocations: 47.47 kB / 477.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.154, allocations: 235.5 kB / 478.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.154, allocations: 3.984 kB / 478.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.154, allocations: 4 kB / 478.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.154, allocations: 0 / 478.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1551, allocations: 0.6857 MB / 478.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1551, allocations: 0 / 478.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.1553, allocations: 47.95 kB / 478.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1554, allocations: 7.984 kB / 478.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1554, allocations: 4 kB / 478.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1554, allocations: 4 kB / 478.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1554, allocations: 0 / 478.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.156, allocations: 441.3 kB / 479.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1562, allocations: 124.6 kB / 479.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.1562, allocations: 8 kB / 479.4 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1564, allocations: 3.984 kB / 479.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.1564, allocations: 15.98 kB / 479.4 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1564, allocations: 4 kB / 479.5 MB, free: 440 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003791/0.1568, allocations: 259.2 kB / 479.7 MB, free: 180 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1568, allocations: 0 / 479.7 MB, free: 180 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.1574, allocations: 88 kB / 479.8 MB, free: 92 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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.0002161/0.1576, allocations: 103.2 kB / 479.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.1586, allocations: 427.2 kB / 480.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1586, allocations: 0 / 480.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1588, allocations: 95.84 kB / 480.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.1595, allocations: 96.17 kB / 480.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1613, allocations: 1.015 MB / 481.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.162, allocations: 0.8622 MB / 482.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.1623, allocations: 84.12 kB / 482.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.1624, allocations: 31.44 kB / 482.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1624, allocations: 3.938 kB / 482.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Templates: time 0.009246/0.1717, allocations: 3.555 MB / 486 MB, free: 9.793 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches