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.001025/0.001025, allocations: 112.8 kB / 17.68 MB, free: 5.355 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.001067/0.001068, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.362/1.362, allocations: 222.9 MB / 242.3 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.1736/0.1736, allocations: 38.03 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.97 kB / 400.3 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1006, allocations: 58.06 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006016/0.1067, allocations: 4.595 MB / 462.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1087, allocations: 1.309 MB / 464.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.109, allocations: 15.88 kB / 464.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.1101, allocations: 402.3 kB / 464.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.1107, allocations: 246.8 kB / 464.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.1111, allocations: 175.6 kB / 465 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.1116, allocations: 0.5568 MB / 465.6 MB, free: 20 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.112, allocations: 297.2 kB / 465.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.1123, allocations: 243 kB / 466.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.1128, allocations: 290.9 kB / 466.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.1128, allocations: 28 kB / 466.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.113, allocations: 123.8 kB / 466.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1132, allocations: 191.5 kB / 466.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.1134, allocations: 215 kB / 466.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.1139, allocations: 0.5178 MB / 467.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1139, allocations: 0 / 467.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1139, allocations: 3.938 kB / 467.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1139, allocations: 4 kB / 467.5 MB, free: 14.14 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.001027/0.115, allocations: 0.6875 MB / 468.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.115, allocations: 15.88 kB / 468.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.1156, allocations: 88.33 kB / 468.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.1163, allocations: 415.1 kB / 468.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1163, allocations: 29.38 kB / 468.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1164, allocations: 48.11 kB / 468.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.1171, allocations: 468.8 kB / 469.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1171, allocations: 4 kB / 469.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.1172, allocations: 16 kB / 469.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-05/0.1173, allocations: 24.98 kB / 469.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1178, allocations: 335.7 kB / 469.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.1198, allocations: 1.702 MB / 471.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1201, allocations: 153.1 kB / 471.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1203, allocations: 106 kB / 471.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1203, allocations: 3.938 kB / 471.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1203, allocations: 38.5 kB / 471.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.1203, allocations: 0 / 471.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001339/0.1217, allocations: 0.8446 MB / 472.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1217, allocations: 81.11 kB / 472.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.122, allocations: 312.4 kB / 472.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1221, allocations: 25.83 kB / 472.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1222, allocations: 259.4 kB / 473.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1223, allocations: 55.2 kB / 473.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.1224, allocations: 65.88 kB / 473.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1225, allocations: 342.8 kB / 473.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1226, allocations: 100.2 kB / 473.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1228, allocations: 185.4 kB / 473.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.1232, allocations: 315.1 kB / 474.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1232, allocations: 0 / 474.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008477/0.1241, allocations: 461.7 kB / 474.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1241, allocations: 8 kB / 474.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005582/0.1247, allocations: 283.8 kB / 474.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.1251, allocations: 144.8 kB / 475 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1253, allocations: 51.92 kB / 475 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.1279, allocations: 2.375 MB / 477.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.1281, allocations: 12 kB / 477.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.1281, allocations: 23.91 kB / 477.5 MB, free: 3.512 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.0001851/0.1283, allocations: 181.8 kB / 477.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.1284, allocations: 27.7 kB / 477.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.1288, allocations: 257.3 kB / 477.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1288, allocations: 4 kB / 477.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1288, allocations: 3.938 kB / 477.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1288, allocations: 0 / 477.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1299, allocations: 0.7156 MB / 478.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1299, allocations: 4 kB / 478.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.1301, allocations: 43.91 kB / 478.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.1302, allocations: 32.83 kB / 478.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1303, allocations: 4.062 kB / 478.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.1319, allocations: 1.596 MB / 480.3 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1319, allocations: 8.188 kB / 480.3 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.1326, allocations: 421.7 kB / 480.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1328, allocations: 104.7 kB / 480.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.1328, allocations: 7.938 kB / 480.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.1331, allocations: 15.98 kB / 480.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1332, allocations: 15.98 kB / 480.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1332, allocations: 4 kB / 480.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.1335, allocations: 215.1 kB / 481.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1335, allocations: 0 / 481.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007984/0.1343, allocations: 88 kB / 481.2 MB, free: 15.52 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.00014/0.1345, allocations: 115 kB / 481.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009705/0.1355, allocations: 394.3 kB / 481.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1355, allocations: 0.875 kB / 481.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.136, allocations: 231.5 kB / 481.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.1367, allocations: 63.38 kB / 482 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1386, allocations: 0.8507 MB / 482.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.1392, allocations: 0.8419 MB / 483.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.1395, allocations: 62.86 kB / 483.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.1396, allocations: 27.38 kB / 483.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1396, allocations: 3.938 kB / 483.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.01217/0.1518, allocations: 3.962 MB / 487.7 MB, free: 8.914 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PVsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches