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.0009681/0.0009679, allocations: 92.73 kB / 16.65 MB, free: 6.598 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.0007353/0.0007353, allocations: 178.9 kB / 17.56 MB, free: 6.199 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.17/1.17, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1544/0.1544, allocations: 38.09 MB / 330.8 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.0002659, allocations: 8.969 kB / 400.7 MB, free: 34.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08694, allocations: 59.17 MB / 459.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004861/0.09185, allocations: 5.359 MB / 465.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.09385, allocations: 1.527 MB / 466.8 MB, free: 184 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.09407, allocations: 27.81 kB / 466.8 MB, free: 156 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.09442, allocations: 111.3 kB / 466.9 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.09495, allocations: 310.7 kB / 467.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.09526, allocations: 139.8 kB / 467.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008165/0.09609, allocations: 1.056 MB / 468.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.0963, allocations: 127.5 kB / 468.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.09662, allocations: 258.8 kB / 468.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.09716, allocations: 442.7 kB / 469.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.09723, allocations: 24 kB / 469.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.09731, allocations: 28 kB / 469.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.09752, allocations: 215.3 kB / 469.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.09778, allocations: 284.4 kB / 469.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.09825, allocations: 0.5761 MB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.09826, allocations: 4 kB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09827, allocations: 0 / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.09829, allocations: 0 / 470.3 MB, free: 12.61 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.001569/0.09986, allocations: 0.8505 MB / 471.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.09991, allocations: 12.02 kB / 471.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1, allocations: 56.38 kB / 471.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.1009, allocations: 0.5838 MB / 471.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.101, allocations: 24.66 kB / 471.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.1011, allocations: 47.91 kB / 471.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.1018, allocations: 0.5556 MB / 472.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1018, allocations: 0 / 472.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.1018, allocations: 16 kB / 472.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002906/0.1021, allocations: 88.52 kB / 472.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.1026, allocations: 354.3 kB / 472.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.105, allocations: 2.062 MB / 475 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.1058, allocations: 377.2 kB / 475.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.1063, allocations: 317.6 kB / 475.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1063, allocations: 7.875 kB / 475.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.1063, allocations: 38.56 kB / 475.7 MB, free: 7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.422e-06/0.1063, allocations: 0 / 475.7 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0039/0.1102, allocations: 2.53 MB / 478.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1103, allocations: 85.09 kB / 478.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.1106, allocations: 377.6 kB / 478.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.1107, allocations: 37.73 kB / 478.7 MB, free: 3.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1108, allocations: 252.2 kB / 479 MB, free: 3.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.998e-05/0.1109, allocations: 134.2 kB / 479.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.111, allocations: 57.69 kB / 479.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1111, allocations: 354.7 kB / 479.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.1115, allocations: 245 kB / 479.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.1118, allocations: 374 kB / 480.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.1126, allocations: 0.6196 MB / 480.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1126, allocations: 4 kB / 480.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001496/0.1141, allocations: 1.006 MB / 481.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1141, allocations: 11.94 kB / 481.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1141, allocations: 8 kB / 481.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008758/0.115, allocations: 413.5 kB / 482.2 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.1153, allocations: 83.83 kB / 482.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.1196, allocations: 4.734 MB / 487 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.1199, allocations: 39.95 kB / 487 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1199, allocations: 15.98 kB / 487 MB, free: 11.03 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.0002062/0.1201, allocations: 209.6 kB / 487.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.1202, allocations: 43.44 kB / 487.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.1215, allocations: 0.835 MB / 488.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1215, allocations: 4 kB / 488.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1215, allocations: 3.938 kB / 488.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1215, allocations: 3.984 kB / 488.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.1233, allocations: 1.418 MB / 489.5 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1234, allocations: 8 kB / 489.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.1235, allocations: 39.97 kB / 489.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.1246, allocations: 441.3 kB / 490 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.1247, allocations: 35.97 kB / 490 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004309/0.129, allocations: 6.253 MB / 496.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.129, allocations: 0 / 496.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1305, allocations: 1.128 MB / 497.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.1306, allocations: 120.5 kB / 497.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.1306, allocations: 31.92 kB / 497.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.1309, allocations: 39.94 kB / 497.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.131, allocations: 39.88 kB / 497.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.131, allocations: 15.98 kB / 497.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1313, allocations: 259.2 kB / 497.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1313, allocations: 0 / 497.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005348/0.1318, allocations: 156 kB / 498.1 MB, free: 15.23 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.0001374/0.132, allocations: 125.4 kB / 498.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.1334, allocations: 0.9039 MB / 499.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1334, allocations: 3.938 kB / 499.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.1347, allocations: 1.091 MB / 0.4885 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.1354, allocations: 121.4 kB / 0.4886 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.1378, allocations: 2.21 MB / 0.4907 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1382, allocations: 0.8859 MB / 0.4916 GB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.1384, allocations: 76.34 kB / 0.4917 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.1385, allocations: 31.44 kB / 0.4917 GB, free: 9.574 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1385, allocations: 3.938 kB / 0.4917 GB, free: 9.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01035/0.1488, allocations: 7.211 MB / 0.4988 GB, free: 2.406 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches