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.001338/0.001338, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001346/0.001346, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.296/1.296, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1728/0.1728, allocations: 38.04 MB / 329.7 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 62.44 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 58.07 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007677/0.1107, allocations: 4.587 MB / 461.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1126, allocations: 1.309 MB / 462.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1128, allocations: 11.94 kB / 462.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.114, allocations: 406.3 kB / 463.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.1145, allocations: 250.8 kB / 463.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.1149, allocations: 167.6 kB / 463.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.1154, allocations: 0.5646 MB / 464.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.1158, allocations: 289.2 kB / 464.5 MB, free: 368 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.1161, allocations: 255 kB / 464.8 MB, free: 112 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.1166, allocations: 275 kB / 465.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.1166, allocations: 32 kB / 465.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.1169, allocations: 131.8 kB / 465.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1171, allocations: 183.5 kB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1173, allocations: 218.9 kB / 465.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.1178, allocations: 0.5061 MB / 466.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1178, allocations: 0 / 466.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1178, allocations: 0 / 466.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1178, allocations: 0 / 466.1 MB, free: 14.78 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.001049/0.1189, allocations: 0.6952 MB / 466.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1189, allocations: 19.89 kB / 466.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.551e-05/0.119, allocations: 74.7 kB / 466.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.1196, allocations: 88.31 kB / 467 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.1201, allocations: 391.2 kB / 467.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1202, allocations: 25.38 kB / 467.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1203, allocations: 47.92 kB / 467.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.1209, allocations: 476.8 kB / 467.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1209, allocations: 0 / 467.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.121, allocations: 16 kB / 467.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.1211, allocations: 28.98 kB / 468 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.1216, allocations: 335.7 kB / 468.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1237, allocations: 1.71 MB / 470 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.124, allocations: 149 kB / 470.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.1241, allocations: 113.7 kB / 470.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1241, allocations: 3.984 kB / 470.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1242, allocations: 38.5 kB / 470.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1242, allocations: 3.938 kB / 470.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001552/0.1257, allocations: 0.8519 MB / 471.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1258, allocations: 81.11 kB / 471.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.1261, allocations: 308.5 kB / 471.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1262, allocations: 29.69 kB / 471.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1264, allocations: 251.4 kB / 471.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.1264, allocations: 63.05 kB / 471.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1266, allocations: 66.09 kB / 471.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1267, allocations: 342.8 kB / 472.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1269, allocations: 92.23 kB / 472.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1271, allocations: 189.4 kB / 472.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1275, allocations: 314.9 kB / 472.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1275, allocations: 0 / 472.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008229/0.1283, allocations: 461.7 kB / 473.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1283, allocations: 4 kB / 473.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005763/0.1289, allocations: 291.3 kB / 473.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/0.1294, allocations: 140.7 kB / 473.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1296, allocations: 47.92 kB / 473.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.1324, allocations: 2.387 MB / 476.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.1326, allocations: 12 kB / 476.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.1326, allocations: 15.98 kB / 476.2 MB, free: 4.055 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.0002108/0.1329, allocations: 189.7 kB / 476.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.1329, allocations: 31.69 kB / 476.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.1334, allocations: 253.3 kB / 476.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1334, allocations: 4 kB / 476.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1334, allocations: 0 / 476.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1334, allocations: 0 / 476.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1345, allocations: 0.7156 MB / 477.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1345, allocations: 4 kB / 477.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.1347, allocations: 31.98 kB / 477.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.692e-05/0.1348, allocations: 36.83 kB / 477.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1348, allocations: 4.062 kB / 477.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.136, allocations: 1.588 MB / 479 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.1361, allocations: 4.031 kB / 479 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.1366, allocations: 429.5 kB / 479.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1367, allocations: 108.7 kB / 479.6 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.1367, allocations: 11.94 kB / 479.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1369, allocations: 11.98 kB / 479.6 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1369, allocations: 11.98 kB / 479.6 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1369, allocations: 8 kB / 479.6 MB, free: 372 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.1372, allocations: 215.1 kB / 479.8 MB, free: 160 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1372, allocations: 0 / 479.8 MB, free: 160 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.1376, allocations: 84 kB / 479.9 MB, free: 76 kB / 350.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.0008082/0.1384, allocations: 0.9612 MB / 480.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007221/0.1392, allocations: 414.5 kB / 481.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1392, allocations: 4 kB / 481.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.1395, allocations: 223.4 kB / 481.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.14, allocations: 73 kB / 481.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.1444, allocations: 3.508 MB / 485.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.1448, allocations: 0.8418 MB / 485.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.1451, allocations: 66.91 kB / 486 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1452, allocations: 127.4 kB / 486.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1452, allocations: 0 / 486.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.175, allocations: 7.358 MB / 493.4 MB, free: 2.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.86, allocations: 8.281 kB / 493.5 MB, free: 2.367 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","/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