Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 107.3 kB / 16.92 MB, free: 6.117 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.001256/0.001256, allocations: 191.3 kB / 17.85 MB, free: 5.277 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.359/1.359, allocations: 222.9 MB / 241.5 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1715/0.1715, allocations: 38.05 MB / 329.7 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 59.53 kB / 398.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 58.06 MB / 456.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006062/0.1126, allocations: 4.907 MB / 461.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1144, allocations: 1.293 MB / 463.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1146, allocations: 15.94 kB / 463.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.115, allocations: 131 kB / 463.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.1156, allocations: 330.4 kB / 463.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1159, allocations: 147.7 kB / 463.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.1165, allocations: 0.6971 MB / 464.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1167, allocations: 160.1 kB / 464.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.1171, allocations: 302.8 kB / 464.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.1177, allocations: 438.7 kB / 465.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.1178, allocations: 48 kB / 465.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1179, allocations: 48 kB / 465.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.1181, allocations: 243.3 kB / 465.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.1184, allocations: 282.7 kB / 465.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.1189, allocations: 0.5997 MB / 466.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1189, allocations: 0 / 466.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1189, allocations: 0 / 466.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1189, allocations: 0 / 466.5 MB, free: 14.41 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00172/0.1207, allocations: 0.9548 MB / 467.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1207, allocations: 15.89 kB / 467.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1208, allocations: 48.38 kB / 467.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.1218, allocations: 0.5916 MB / 468.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1218, allocations: 28.66 kB / 468.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.1219, allocations: 43.91 kB / 468.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.1227, allocations: 0.5517 MB / 468.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1227, allocations: 0 / 468.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1227, allocations: 12 kB / 468.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003219/0.1231, allocations: 88.53 kB / 468.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.1236, allocations: 358.3 kB / 469.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.1262, allocations: 2.058 MB / 471.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.127, allocations: 381.2 kB / 471.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.1276, allocations: 323.6 kB / 471.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1276, allocations: 11.92 kB / 471.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.1277, allocations: 38.56 kB / 471.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1277, allocations: 0 / 471.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004487/0.1322, allocations: 2.538 MB / 474.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1322, allocations: 85.11 kB / 474.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.1326, allocations: 377.6 kB / 474.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.1326, allocations: 33.7 kB / 475 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1328, allocations: 248.2 kB / 475.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1329, allocations: 134.2 kB / 475.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1331, allocations: 102.2 kB / 475.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1332, allocations: 362.7 kB / 475.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.1336, allocations: 245 kB / 476 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.134, allocations: 374.6 kB / 476.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.1348, allocations: 0.6235 MB / 477 MB, free: 3.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1348, allocations: 0 / 477 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001687/0.1365, allocations: 1.01 MB / 478 MB, free: 2.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1365, allocations: 7.938 kB / 478 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1365, allocations: 4 kB / 478 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/0.1375, allocations: 409.5 kB / 478.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.1378, allocations: 83.83 kB / 478.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.143, allocations: 5.139 MB / 483.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.1433, allocations: 48 kB / 483.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.1434, allocations: 20 kB / 483.7 MB, free: 12.26 MB / 366.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003215/0.1437, allocations: 205.6 kB / 483.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.1438, allocations: 39.53 kB / 484 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.1454, allocations: 0.8349 MB / 484.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1454, allocations: 4 kB / 484.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1454, allocations: 4 kB / 484.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1454, allocations: 3.984 kB / 484.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.1475, allocations: 1.414 MB / 486.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1475, allocations: 128 / 486.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1477, allocations: 47.91 kB / 486.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.1488, allocations: 441.4 kB / 486.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.1489, allocations: 35.91 kB / 486.7 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006526/0.1554, allocations: 6.718 MB / 493.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1554, allocations: 8.141 kB / 493.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.1571, allocations: 1.128 MB / 494.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1572, allocations: 116.5 kB / 494.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.1573, allocations: 27.98 kB / 494.7 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.1576, allocations: 39.94 kB / 494.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.1576, allocations: 31.94 kB / 494.8 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.1577, allocations: 15.98 kB / 494.8 MB, free: 400 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003654/0.1581, allocations: 259.2 kB / 495.1 MB, free: 140 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1581, allocations: 0 / 495.1 MB, free: 140 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006409/0.1587, allocations: 168 kB / 495.2 MB, free: 15.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0001605/0.1589, allocations: 125.3 kB / 495.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.1606, allocations: 0.978 MB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1606, allocations: 0 / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.1621, allocations: 1.082 MB / 497.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.1628, allocations: 136.7 kB / 497.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.1654, allocations: 1.831 MB / 499.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.1659, allocations: 0.8859 MB / 0.4885 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.1661, allocations: 76.33 kB / 0.4886 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.1662, allocations: 35.42 kB / 0.4887 GB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1662, allocations: 0 / 0.4887 GB, free: 10.62 MB / 382.1 MB Notification: Performance of Templates: time 0.0139/0.1801, allocations: 7.605 MB / 0.4961 GB, free: 3.074 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches