Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007354/0.0007355, allocations: 88.58 kB / 16.65 MB, free: 6.262 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.0008871/0.0008871, allocations: 184.4 kB / 17.57 MB, free: 5.875 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.327/1.327, allocations: 223.3 MB / 241.6 MB, free: 14.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.1758/0.1758, allocations: 38.09 MB / 330.8 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 9.781 kB / 400.7 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09124, allocations: 59.16 MB / 459.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005094/0.09637, allocations: 4.845 MB / 464.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.09844, allocations: 1.484 MB / 466.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.09866, allocations: 23.81 kB / 466.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.09894, allocations: 91.44 kB / 466.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.09941, allocations: 227 kB / 466.5 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.09978, allocations: 143.8 kB / 466.7 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000722/0.1005, allocations: 0.8377 MB / 467.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.1013, allocations: 0.5477 MB / 468.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1016, allocations: 207 kB / 468.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.102, allocations: 275 kB / 468.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.1021, allocations: 16 kB / 468.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.1023, allocations: 135.7 kB / 468.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.1025, allocations: 167.5 kB / 468.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1027, allocations: 220.6 kB / 469.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.1032, allocations: 0.4905 MB / 469.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1032, allocations: 4 kB / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1032, allocations: 0 / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1033, allocations: 3.938 kB / 469.6 MB, free: 13.3 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009732/0.1042, allocations: 0.6251 MB / 470.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1043, allocations: 8.031 kB / 470.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005717/0.1048, allocations: 88.31 kB / 470.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.1054, allocations: 387.2 kB / 470.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1055, allocations: 33.38 kB / 470.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.1056, allocations: 52.05 kB / 470.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.1063, allocations: 468.8 kB / 471.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1063, allocations: 0 / 471.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.1064, allocations: 16 kB / 471.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.1065, allocations: 32.92 kB / 471.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.107, allocations: 335.7 kB / 471.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.1092, allocations: 1.71 MB / 473.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1094, allocations: 149.1 kB / 473.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1096, allocations: 109.7 kB / 473.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1096, allocations: 7.938 kB / 473.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1097, allocations: 34.56 kB / 473.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.1097, allocations: 0 / 473.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001469/0.1112, allocations: 0.8567 MB / 474.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1112, allocations: 85.03 kB / 474.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.1115, allocations: 304.5 kB / 474.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1116, allocations: 29.7 kB / 474.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1117, allocations: 251.4 kB / 475.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1118, allocations: 63.09 kB / 475.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.1118, allocations: 29.7 kB / 475.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.112, allocations: 346.8 kB / 475.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1121, allocations: 96.25 kB / 475.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1124, allocations: 197.1 kB / 475.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.1128, allocations: 314.5 kB / 476.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1128, allocations: 0 / 476.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008525/0.1136, allocations: 456.7 kB / 476.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1137, allocations: 8 kB / 476.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005675/0.1142, allocations: 288.9 kB / 476.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/0.1147, allocations: 128.7 kB / 477 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1149, allocations: 59.84 kB / 477 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.1176, allocations: 2.147 MB / 479.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.1178, allocations: 20.05 kB / 479.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1178, allocations: 12 kB / 479.2 MB, free: 3 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.1181, allocations: 189.7 kB / 479.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.1181, allocations: 31.62 kB / 479.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.1186, allocations: 252.1 kB / 479.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1186, allocations: 0 / 479.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1186, allocations: 4 kB / 479.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1186, allocations: 3.938 kB / 479.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1197, allocations: 0.7108 MB / 480.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1197, allocations: 11.92 kB / 480.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1199, allocations: 39.97 kB / 480.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-05/0.1201, allocations: 36.72 kB / 480.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1201, allocations: 0 / 480.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.1212, allocations: 1.486 MB / 482 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1212, allocations: 3.938 kB / 482 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.1218, allocations: 424.5 kB / 482.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.1219, allocations: 100.7 kB / 482.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.122, allocations: 16.09 kB / 482.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1221, allocations: 4 kB / 482.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.1222, allocations: 19.86 kB / 482.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1222, allocations: 4 kB / 482.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.1224, allocations: 219 kB / 482.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1224, allocations: 0 / 482.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.1229, allocations: 88 kB / 482.8 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.123, allocations: 103.2 kB / 482.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.1237, allocations: 391.1 kB / 483.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1237, allocations: 0 / 483.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1241, allocations: 231.5 kB / 483.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.1246, allocations: 64.94 kB / 483.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1261, allocations: 1.087 MB / 484.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.1266, allocations: 0.8422 MB / 485.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.1268, allocations: 62.92 kB / 485.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.1269, allocations: 23.44 kB / 485.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1269, allocations: 0 / 485.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.007694/0.1346, allocations: 3.695 MB / 489.3 MB, free: 8.57 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches