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.0007126/0.0007127, allocations: 91.5 kB / 16.65 MB, free: 6.59 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.0008768/0.0008769, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.234/1.234, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1779/0.1779, allocations: 38.08 MB / 330.8 MB, free: 8.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 9.75 kB / 400.7 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09667, allocations: 59.17 MB / 459.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005046/0.1017, allocations: 4.834 MB / 464.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.104, allocations: 1.48 MB / 466.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.1042, allocations: 27.81 kB / 466.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1045, allocations: 87.44 kB / 466.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.105, allocations: 231 kB / 466.5 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1054, allocations: 143.8 kB / 466.7 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.1062, allocations: 0.8299 MB / 467.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008101/0.107, allocations: 0.5594 MB / 468.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.1073, allocations: 207 kB / 468.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.1077, allocations: 275 kB / 468.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.1078, allocations: 16 kB / 468.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.108, allocations: 131.7 kB / 468.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1081, allocations: 171.5 kB / 468.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.1083, allocations: 220.7 kB / 469.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.1088, allocations: 0.4904 MB / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1088, allocations: 0 / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1088, allocations: 3.938 kB / 469.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1088, allocations: 0 / 469.6 MB, free: 13.29 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.000927/0.1097, allocations: 0.629 MB / 470.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1098, allocations: 8.031 kB / 470.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.1103, allocations: 88.31 kB / 470.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.1108, allocations: 391.2 kB / 470.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1109, allocations: 21.38 kB / 470.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.111, allocations: 52.09 kB / 470.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.1116, allocations: 468.9 kB / 471.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1116, allocations: 3.938 kB / 471.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.1117, allocations: 16 kB / 471.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.72e-05/0.1118, allocations: 24.98 kB / 471.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.1123, allocations: 339.7 kB / 471.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.1142, allocations: 1.725 MB / 473.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1144, allocations: 149.1 kB / 473.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1146, allocations: 105.7 kB / 473.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1146, allocations: 7.938 kB / 473.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1147, allocations: 34.56 kB / 473.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1147, allocations: 0 / 473.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001398/0.1161, allocations: 0.8528 MB / 474.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1161, allocations: 85.09 kB / 474.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1164, allocations: 300.5 kB / 474.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1164, allocations: 33.7 kB / 474.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1166, allocations: 243.4 kB / 475.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.1166, allocations: 75.02 kB / 475.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1167, allocations: 29.7 kB / 475.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1168, allocations: 346.8 kB / 475.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.117, allocations: 96.22 kB / 475.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1172, allocations: 201.1 kB / 475.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.1175, allocations: 310.7 kB / 476.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1175, allocations: 4 kB / 476.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007689/0.1183, allocations: 449 kB / 476.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1183, allocations: 12.09 kB / 476.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005244/0.1189, allocations: 288.5 kB / 476.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.1193, allocations: 120.8 kB / 477 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1195, allocations: 67.84 kB / 477 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.1219, allocations: 2.135 MB / 479.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1221, allocations: 19.92 kB / 479.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1221, allocations: 8 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.0002155/0.1223, allocations: 197.7 kB / 479.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.1224, allocations: 27.62 kB / 479.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.1228, allocations: 252.2 kB / 479.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1228, allocations: 4 kB / 479.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1229, allocations: 4.062 kB / 479.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1229, allocations: 3.938 kB / 479.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.1238, allocations: 0.7118 MB / 480.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.1239, allocations: 7.938 kB / 480.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1241, allocations: 43.84 kB / 480.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.736e-05/0.1242, allocations: 28.91 kB / 480.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1242, allocations: 12 kB / 480.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1254, allocations: 1.482 MB / 482 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1254, allocations: 3.984 kB / 482 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.1259, allocations: 432.7 kB / 482.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.1259, allocations: 100.7 kB / 482.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.126, allocations: 12.03 kB / 482.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1261, allocations: 8 kB / 482.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1262, allocations: 11.92 kB / 482.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1262, allocations: 4 kB / 482.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.1264, allocations: 223 kB / 482.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1264, allocations: 0 / 482.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.1268, allocations: 84 kB / 482.8 MB, free: 15.12 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.0001334/0.127, allocations: 107.2 kB / 482.9 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.1276, allocations: 391 kB / 483.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1277, allocations: 0 / 483.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.128, allocations: 229 kB / 483.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.1285, allocations: 65.42 kB / 483.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1304, allocations: 1.091 MB / 484.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.131, allocations: 0.8383 MB / 485.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000259/0.1313, allocations: 66.92 kB / 485.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.1314, allocations: 23.44 kB / 485.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1314, allocations: 0 / 485.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01031/0.1417, allocations: 3.687 MB / 489.3 MB, free: 8.562 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource_res.mat","/var/lib/jenkins/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