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.001375/0.001375, allocations: 115.5 kB / 17.7 MB, free: 5.434 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.00147/0.00147, allocations: 192 kB / 18.63 MB, free: 4.508 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.366/1.366, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1759/0.1759, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 65.53 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09313, allocations: 58.06 MB / 458.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006766/0.09993, allocations: 4.903 MB / 463.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1021, allocations: 1.305 MB / 464.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.1025, allocations: 15.94 kB / 464.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.1031, allocations: 127 kB / 464.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009906/0.1041, allocations: 326.4 kB / 465 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1046, allocations: 159.7 kB / 465.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009715/0.1056, allocations: 0.6931 MB / 465.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.1059, allocations: 167.8 kB / 466 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.1063, allocations: 302.8 kB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.1069, allocations: 434.7 kB / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.107, allocations: 51.94 kB / 466.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.1071, allocations: 44 kB / 466.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.1073, allocations: 235.5 kB / 467 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.1076, allocations: 282.7 kB / 467.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.1082, allocations: 0.6113 MB / 467.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1082, allocations: 3.984 kB / 467.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1082, allocations: 4 kB / 467.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1082, allocations: 0 / 467.9 MB, free: 13.69 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.001904/0.1101, allocations: 0.9349 MB / 468.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1102, allocations: 15.89 kB / 468.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1103, allocations: 56.31 kB / 468.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1115, allocations: 0.615 MB / 469.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1115, allocations: 28.66 kB / 469.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.1116, allocations: 47.91 kB / 469.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007396/0.1124, allocations: 0.5479 MB / 470.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1124, allocations: 0 / 470.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.1124, allocations: 20 kB / 470.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/0.1127, allocations: 88.53 kB / 470.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.1133, allocations: 358.3 kB / 470.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.1161, allocations: 2.05 MB / 472.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.1169, allocations: 385.1 kB / 473.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.1174, allocations: 325.6 kB / 473.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.1175, allocations: 3.938 kB / 473.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1175, allocations: 38.56 kB / 473.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.883e-06/0.1175, allocations: 0 / 473.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004438/0.122, allocations: 2.542 MB / 476 MB, free: 5.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.122, allocations: 81.11 kB / 476 MB, free: 5.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.1225, allocations: 381.5 kB / 476.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.1225, allocations: 29.7 kB / 476.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1227, allocations: 256.2 kB / 476.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.1229, allocations: 134.1 kB / 476.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.123, allocations: 98.16 kB / 476.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1232, allocations: 370.8 kB / 477.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.1235, allocations: 241 kB / 477.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.124, allocations: 366.7 kB / 477.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/0.1248, allocations: 0.6196 MB / 478.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1248, allocations: 0 / 478.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001663/0.1264, allocations: 1.014 MB / 479.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.1265, allocations: 11.94 kB / 479.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1265, allocations: 4 kB / 479.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/0.1275, allocations: 409.4 kB / 479.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.1278, allocations: 91.83 kB / 480 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/0.133, allocations: 5.127 MB / 485.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.1334, allocations: 43.94 kB / 485.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.1334, allocations: 20.06 kB / 485.2 MB, free: 11.53 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.0002698/0.1337, allocations: 205.7 kB / 485.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.1338, allocations: 39.53 kB / 485.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.1352, allocations: 0.831 MB / 486.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1352, allocations: 4 kB / 486.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1353, allocations: 4 kB / 486.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1353, allocations: 3.984 kB / 486.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.1374, allocations: 1.422 MB / 487.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1374, allocations: 0 / 487.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.1376, allocations: 47.91 kB / 487.8 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.1388, allocations: 441.3 kB / 488.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.1388, allocations: 39.91 kB / 488.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/0.1444, allocations: 6.71 MB / 494.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1444, allocations: 8.016 kB / 495 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.146, allocations: 1.128 MB / 496.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1462, allocations: 112.5 kB / 496.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.1463, allocations: 31.98 kB / 496.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.1466, allocations: 35.94 kB / 496.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1467, allocations: 43.88 kB / 496.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.1467, allocations: 15.98 kB / 496.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003377/0.1471, allocations: 259.2 kB / 496.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1471, allocations: 0 / 496.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006589/0.1478, allocations: 159.9 kB / 496.7 MB, free: 15.24 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.0001622/0.1479, allocations: 125.4 kB / 496.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.1496, allocations: 0.9074 MB / 497.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1496, allocations: 0 / 497.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.1513, allocations: 1.086 MB / 498.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.1519, allocations: 119.1 kB / 499 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.1547, allocations: 1.835 MB / 0.4891 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.1552, allocations: 0.8781 MB / 0.4899 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.1554, allocations: 68.34 kB / 0.49 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.1555, allocations: 35.44 kB / 0.49 GB, free: 9.988 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1555, allocations: 0 / 0.49 GB, free: 9.988 MB / 382.1 MB Notification: Performance of Templates: time 0.01416/0.1697, allocations: 7.624 MB / 0.4975 GB, free: 2.426 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins1/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