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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 98.92 kB / 16.5 MB, free: 6.641 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.001319/0.001319, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.266/1.266, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1656/0.1656, allocations: 38.04 MB / 329.3 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 61.05 kB / 398.2 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1108, allocations: 58.07 MB / 456.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006383/0.1173, allocations: 5.228 MB / 461.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1199, allocations: 1.503 MB / 463 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.1202, allocations: 27.81 kB / 463 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1213, allocations: 382.7 kB / 463.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.1218, allocations: 223 kB / 463.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.1223, allocations: 159.7 kB / 463.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007181/0.123, allocations: 0.8298 MB / 464.6 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.1235, allocations: 280.8 kB / 464.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.1238, allocations: 219 kB / 465.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.1242, allocations: 291 kB / 465.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1243, allocations: 24 kB / 465.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.1246, allocations: 139.7 kB / 465.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1248, allocations: 175.5 kB / 465.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.125, allocations: 210.9 kB / 465.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.1255, allocations: 0.51 MB / 466.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1255, allocations: 4 kB / 466.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1255, allocations: 0 / 466.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1255, allocations: 0 / 466.4 MB, free: 14.24 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.001115/0.1266, allocations: 0.6913 MB / 467.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1267, allocations: 12.03 kB / 467.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.597e-05/0.1268, allocations: 74.72 kB / 467.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/0.1273, allocations: 88.25 kB / 467.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.1279, allocations: 395.3 kB / 467.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1279, allocations: 21.38 kB / 467.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.128, allocations: 47.92 kB / 467.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.1287, allocations: 476.7 kB / 468.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1287, allocations: 4 kB / 468.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1288, allocations: 16 kB / 468.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.1289, allocations: 24.98 kB / 468.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.1294, allocations: 339.7 kB / 468.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.1314, allocations: 1.714 MB / 470.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.1317, allocations: 149.1 kB / 470.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1319, allocations: 106 kB / 470.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1319, allocations: 3.938 kB / 470.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1319, allocations: 42.56 kB / 470.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1319, allocations: 0 / 470.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001384/0.1333, allocations: 0.8517 MB / 471.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.1334, allocations: 85.11 kB / 471.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1337, allocations: 304.5 kB / 471.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1337, allocations: 29.7 kB / 471.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1339, allocations: 251.4 kB / 472.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.134, allocations: 67.09 kB / 472.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.1341, allocations: 57.98 kB / 472.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1342, allocations: 350.7 kB / 472.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1343, allocations: 92.23 kB / 472.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.1345, allocations: 193.2 kB / 472.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.1349, allocations: 323.1 kB / 473.1 MB, free: 7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1349, allocations: 0 / 473.1 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008127/0.1358, allocations: 453.4 kB / 473.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1358, allocations: 4 kB / 473.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005589/0.1364, allocations: 295.5 kB / 473.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/0.1368, allocations: 128.7 kB / 474 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.137, allocations: 51.91 kB / 474.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.1402, allocations: 2.157 MB / 476.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.1405, allocations: 8.062 kB / 476.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.1406, allocations: 20 kB / 476.2 MB, free: 3.758 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.0003298/0.1409, allocations: 189.7 kB / 476.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.141, allocations: 35.61 kB / 476.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.1416, allocations: 249.4 kB / 476.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1416, allocations: 0 / 476.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.1416, allocations: 0 / 476.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.1416, allocations: 11.92 kB / 476.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.1433, allocations: 0.7156 MB / 477.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1433, allocations: 0 / 477.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.1436, allocations: 43.92 kB / 477.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.1437, allocations: 28.83 kB / 477.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1438, allocations: 4 kB / 477.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.1454, allocations: 1.478 MB / 479 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1454, allocations: 8.094 kB / 479 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.1463, allocations: 420.8 kB / 479.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1464, allocations: 104.8 kB / 479.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.1465, allocations: 15.94 kB / 479.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1467, allocations: 7.984 kB / 479.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.1468, allocations: 15.92 kB / 479.5 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1468, allocations: 4 kB / 479.6 MB, free: 188 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003912/0.1472, allocations: 215.1 kB / 479.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1472, allocations: 3.938 kB / 479.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007404/0.148, allocations: 91.94 kB / 479.9 MB, free: 15.88 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.001107/0.1491, allocations: 0.9573 MB / 480.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.1501, allocations: 390.3 kB / 481.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1502, allocations: 0 / 481.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.1506, allocations: 236.4 kB / 481.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.1513, allocations: 53.06 kB / 481.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.1578, allocations: 3.653 MB / 485.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.1586, allocations: 0.838 MB / 486 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.1589, allocations: 62.92 kB / 486 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.1593, allocations: 123.4 kB / 486.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1593, allocations: 0 / 486.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1857, allocations: 7.025 MB / 493.2 MB, free: 2.434 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.186, allocations: 252.2 kB / 493.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/1.983, allocations: 0 / 493.4 MB, free: 2.168 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches