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.001111/0.001111, allocations: 106.9 kB / 16.62 MB, free: 6.809 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.001231/0.001231, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.319/1.319, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1811/0.1811, allocations: 38.03 MB / 329.4 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 66 kB / 398.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09603, allocations: 58.06 MB / 456.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005956/0.102, allocations: 5.235 MB / 461.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1044, allocations: 1.488 MB / 463.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004073/0.1048, allocations: 27.81 kB / 463.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1059, allocations: 382.7 kB / 463.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000589/0.1065, allocations: 231 kB / 463.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1069, allocations: 159.7 kB / 464 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.1076, allocations: 0.5529 MB / 464.5 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.1081, allocations: 317.2 kB / 464.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.1085, allocations: 259 kB / 465.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.109, allocations: 299 kB / 465.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.1091, allocations: 32 kB / 465.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.1094, allocations: 127.8 kB / 465.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1096, allocations: 179.5 kB / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003526/0.1099, allocations: 226.9 kB / 465.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.1106, allocations: 0.51 MB / 466.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1106, allocations: 0 / 466.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1106, allocations: 4 kB / 466.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.1106, allocations: 0 / 466.4 MB, free: 14.32 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.001186/0.1118, allocations: 0.6991 MB / 467.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1119, allocations: 11.89 kB / 467.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.075e-05/0.112, allocations: 70.72 kB / 467.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.1126, allocations: 92.25 kB / 467.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.1132, allocations: 387.3 kB / 467.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1132, allocations: 29.36 kB / 467.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.1133, allocations: 47.92 kB / 467.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006925/0.114, allocations: 468.8 kB / 468.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1141, allocations: 0 / 468.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.1141, allocations: 23.92 kB / 468.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.1142, allocations: 25 kB / 468.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.1147, allocations: 339.7 kB / 468.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1168, allocations: 1.71 MB / 470.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.1171, allocations: 149.1 kB / 470.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1172, allocations: 113.9 kB / 470.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1172, allocations: 3.938 kB / 470.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1173, allocations: 38.56 kB / 470.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1173, allocations: 0 / 470.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001338/0.1186, allocations: 0.8483 MB / 471.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1187, allocations: 85.23 kB / 471.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1189, allocations: 304.5 kB / 471.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.119, allocations: 25.7 kB / 471.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1191, allocations: 251.4 kB / 472.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.1192, allocations: 67.08 kB / 472.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.1193, allocations: 57.98 kB / 472.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1194, allocations: 350.6 kB / 472.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1195, allocations: 96.22 kB / 472.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1197, allocations: 189.4 kB / 472.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.1201, allocations: 318.5 kB / 473.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1201, allocations: 0 / 473.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008003/0.1209, allocations: 456.2 kB / 473.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1209, allocations: 10.03 kB / 473.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005288/0.1214, allocations: 292.9 kB / 473.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.1219, allocations: 132.6 kB / 474 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1221, allocations: 55.91 kB / 474.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.1245, allocations: 2.376 MB / 476.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.1246, allocations: 15.98 kB / 476.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1247, allocations: 16 kB / 476.5 MB, free: 3.598 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.0001757/0.1249, allocations: 181.7 kB / 476.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.1249, allocations: 27.62 kB / 476.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.1253, allocations: 257.3 kB / 476.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1253, allocations: 4 kB / 477 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1253, allocations: 0 / 477 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1253, allocations: 0 / 477 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00098/0.1263, allocations: 0.7138 MB / 477.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.1263, allocations: 8.062 kB / 477.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.1265, allocations: 39.91 kB / 477.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.325e-05/0.1266, allocations: 32.84 kB / 477.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1267, allocations: 7.984 kB / 477.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.1277, allocations: 1.592 MB / 479.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1277, allocations: 0 / 479.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.1282, allocations: 422.4 kB / 479.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.1283, allocations: 104.7 kB / 479.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1283, allocations: 15.97 kB / 479.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1285, allocations: 8 kB / 479.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1285, allocations: 11.98 kB / 479.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1286, allocations: 4 kB / 479.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.1287, allocations: 219 kB / 480.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.1288, allocations: 0 / 480.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1292, allocations: 91.94 kB / 480.2 MB, free: 15.62 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.0006782/0.1299, allocations: 0.9673 MB / 481.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006204/0.1305, allocations: 407 kB / 481.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1305, allocations: 192 / 481.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.1308, allocations: 235.4 kB / 481.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1313, allocations: 67.14 kB / 481.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.1353, allocations: 3.667 MB / 485.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1357, allocations: 0.8419 MB / 486.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.1359, allocations: 58.92 kB / 486.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.136, allocations: 123.4 kB / 486.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.136, allocations: 0 / 486.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.295/1.431, allocations: 7.264 MB / 493.8 MB, free: 1.902 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/1.431, allocations: 231.8 kB / 494 MB, free: 1.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.202, allocations: 4 kB / 494 MB, free: 1.648 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