Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.00102/0.00102, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.351/1.351, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1774/0.1774, allocations: 38.04 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.02 kB / 400.2 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09801, allocations: 58.06 MB / 458.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005272/0.1033, allocations: 3.917 MB / 462.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1046, allocations: 0.8766 MB / 463.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1048, allocations: 11.94 kB / 463.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.105, allocations: 47.58 kB / 463.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.1054, allocations: 163.1 kB / 463.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.1056, allocations: 87.83 kB / 463.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.106, allocations: 374.7 kB / 463.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1062, allocations: 84.56 kB / 463.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1064, allocations: 159.3 kB / 464 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.1067, allocations: 167.4 kB / 464.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1067, allocations: 24 kB / 464.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.594e-05/0.1068, allocations: 16 kB / 464.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1069, allocations: 83.73 kB / 464.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.107, allocations: 123.3 kB / 464.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1073, allocations: 259 kB / 464.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1073, allocations: 0 / 464.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1073, allocations: 0 / 464.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.1073, allocations: 0 / 464.7 MB, free: 0.9453 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008565/0.1082, allocations: 0.5544 MB / 465.2 MB, free: 352 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1082, allocations: 15.89 kB / 465.2 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.1083, allocations: 28.56 kB / 465.3 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.1088, allocations: 324 kB / 465.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1088, allocations: 20.38 kB / 465.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.1088, allocations: 20 kB / 465.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1092, allocations: 270 kB / 465.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1092, allocations: 0 / 465.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1092, allocations: 12 kB / 465.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1092, allocations: 4 kB / 465.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.1095, allocations: 159.8 kB / 466.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1107, allocations: 1.187 MB / 467.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1108, allocations: 69.17 kB / 467.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.1108, allocations: 33.81 kB / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.1109, allocations: 3.938 kB / 467.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1109, allocations: 38.5 kB / 467.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1109, allocations: 0 / 467.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006547/0.1116, allocations: 404.8 kB / 467.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1116, allocations: 81.11 kB / 467.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1118, allocations: 246.5 kB / 468.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1119, allocations: 33.64 kB / 468.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.112, allocations: 187.8 kB / 468.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.112, allocations: 39.58 kB / 468.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.1121, allocations: 41.56 kB / 468.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1122, allocations: 330.8 kB / 468.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.1122, allocations: 28.42 kB / 468.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1123, allocations: 122.9 kB / 468.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1125, allocations: 160.7 kB / 469 MB, free: 12.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1125, allocations: 4 kB / 469 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002418/0.1128, allocations: 185.5 kB / 469.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1128, allocations: 11.98 kB / 469.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1128, allocations: 7.938 kB / 469.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1128, allocations: 4 kB / 469.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.113, allocations: 39.92 kB / 469.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.113, allocations: 7.938 kB / 469.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.1131, allocations: 8 kB / 469.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1131, allocations: 8 kB / 469.3 MB, free: 11.87 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.1133, allocations: 157.7 kB / 469.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.1133, allocations: 23.78 kB / 469.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.1135, allocations: 95.31 kB / 469.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1135, allocations: 4 kB / 469.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1135, allocations: 0 / 469.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1135, allocations: 0 / 469.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.1139, allocations: 423.2 kB / 470 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1139, allocations: 0 / 470 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.114, allocations: 15.98 kB / 470 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.114, allocations: 8.031 kB / 470 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.114, allocations: 7.984 kB / 470 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.114, allocations: 3.938 kB / 470 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1141, allocations: 4 kB / 470 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1143, allocations: 228.8 kB / 470.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.1144, allocations: 92.95 kB / 470.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1144, allocations: 8.047 kB / 470.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.1145, allocations: 4 kB / 470.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.1145, allocations: 4 kB / 470.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.1145, allocations: 4 kB / 470.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1147, allocations: 177.9 kB / 470.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1147, allocations: 0 / 470.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.115, allocations: 40 kB / 470.6 MB, free: 10.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 9.129e-05/0.1151, allocations: 101.3 kB / 470.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1153, allocations: 92.09 kB / 470.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1153, allocations: 0 / 470.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.1153, allocations: 24.09 kB / 470.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.1158, allocations: 65.59 kB / 470.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.1166, allocations: 0.4929 MB / 471.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1169, allocations: 0.7634 MB / 472.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.117, allocations: 26.28 kB / 472.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.117, allocations: 27.44 kB / 472.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.117, allocations: 0 / 472.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Templates: time 0.004537/0.1216, allocations: 1.754 MB / 473.9 MB, free: 7.102 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches